Go to: Synopsis. Flags. Return value. Related. MEL examples.

Synopsis

setInfinity [-attribute string] [-controlPoints boolean] [-hierarchy string] [-postInfinite string] [-preInfinite string] [-shape boolean]

setInfinity is undoable, queryable, and editable.

Set the infinity type before (after) a paramCurve's first (last) keyframe.

Flags

attribute, controlPoints, hierarchy, postInfinite, preInfinite, shape
Long name (short name) [argument types] Properties
-attribute(-at) string createmultiuse
List of attributes to select
-hierarchy(-hi) string create
Hierarchy expansion options. Valid values are "above," "below," "both," and "none." (Not valid for "pasteKey" cmd.)
-shape(-s) boolean create
Consider attributes of shapes below transforms as well, except "controlPoints". Default: true. (Not valid for "pasteKey" cmd.)
-controlPoints(-cp) boolean create
This flag explicitly specifies whether or not to include the control points of a shape (see "-s" flag) in the list of attributes. Default: false. (Not valid for "pasteKey" cmd.)
-preInfinite(-pri) string createquery
Set the infinity type before a paramCurve's first keyframe. Valid values are "constant", "linear", "cycle", "cycleRelative", "oscillate".

In query mode, this flag needs a value.

-postInfinite(-poi) string createquery
Set the infinity type after a paramCurve's last keyframe. Valid values are "constant", "linear", "cycle", "cycleRelative", "oscillate".

In query mode, this flag needs a value.


Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command

Return value


None

Related

copyKey, cutKey, findKeyframe, keyTangent, keyframe, keyframeOutliner, keyframeStats, pasteKey, scaleKey, snapKey

MEL examples

setInfinity -pri linear -poi constant;