LastKey

Description

Moves to the last key frame for the given parameters.

Scripting Syntax

    LastKey( [InputObjs], [Time], [Layer] )

Parameters

Parameter | Type | Description
InputObjs | String | List of animatable parameters (for example "cone*/kine.local.pos"). Default Value: Currently selected and marked parameters
Time | Number | Not used. Default Value: Current frame
Layer | Integer | Animation layer Default Value: Current animation layer (-1)

Return Value

Returns the frame number of the last key frame as a Double. If there is no key then the following is returned: -1.#INF for C++, "-1.#INF" for VBScript and Number.NEGATIVE_INFINITY for JScript.

See Also

AddFCurve | RemoveAnimation | RemoveAllAnimation | SaveKey
RemoveKey | PrevKey | FirstKey | FCurve.Keys

Autodesk Softimage v7.5