v5.0
animation
Removes key frames from the keyable parameters at a given
frame.
Note: If any of the keys cannot be removed the command raises an
siErrCancelled error; see siErrorValueEnum for details.
To avoid an error, wrap the call to RemoveKeyOnKeyable with the 'On
Error Resume Next...On Error Goto 0' statements in VBScript or the
'try()...catch(e)' construction in JScript.
This command is very similiar to RemoveKey with the only difference being the
input objects and the list of parameters on which the keys are
removed.
RemoveKeyOnKeyable( [InputObjs], [Time], [Tolerance], [Layer] ); |
Parameter | Type | Description | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
InputObjs | String | Object name (anything
selectable)
Default Value: Currently selected objects |
||||||||
Time | Number | Key frames are removed at this frame.
Default Value: Current frame |
||||||||
Tolerance | Double | Frame tolerance
Default Value: Nearest 0.5 frame (-1)
|
||||||||
Layer | Integer | Animation layer to remove keys from
Default Value: Current animation layer (-1) |