choice is undoable, queryable, and editable.
The choice command provides a mechanism for changing the inputs
to an attribute based on some (usually time-based) criteria.
For example, an object could be animated from
frames 1 to 30 by a motion path, then from frames 30 to 50 it
follows keyframe animation, and after frame 50 it returns to
the motion path. Or, a revolve surface could change its input
curve depending on some transform's rotation value.
| Long name (short name) |
[argument types] |
Properties |
-attribute(-at)
|
string
|

|
|
specifies the attributes onto which choice node(s) should
be created. The default is all keyable attributes of the given
objects. Note that although this flag is not queryable, it can
be used to qualify which attributes of the given objects to query.
|
|
-time(-t)
|
float
|

|
|
specifies the time at which the choice should use the given
source attribute, or the currently connected attribute if
source attribute is not specified. The default is the curren time.
Note that although this flag is not queryable, it can be used
to qualify the times at which to query the other attributes.
|
|
-sourceAttribute(-sa)
|
string
|
|
|
specifies the attribute to connect to the choice node
that will be selected at the given time(s) specified by -t/time.
|
|
-selector(-sl)
|
string
|

|
|
specifies the attribute to be used as the choice node's
selector. The value of the selector at a given time
determines which of the choice node's multi-indices should
be used as the output of the choice node at that time.
This flag is only editable (it cannot be specified
at creation time).
When queried, returns a list of strings.
In query mode, this flag needs a value.
|
|
-index(-in)
|
int
|

|
|
specifies the multi-input index of the choice node to connect
the source attribute to. When queried, returns a list of integers
one per specified -t/time that indicates the multi-index of the
choice node to use at that time.
In query mode, this flag needs a value.
|
|
-name(-n)
|
string
|

|
|
the name to give to any newly created choice node(s).
When queried, returns a list of strings.
In query mode, this flag needs a value.
|
|
-shape(-s)
|
boolean
|
|
|
Consider all attributes of shapes below transforms as well,
except "controlPoints". Default: true
|
|
-controlPoints(-cp)
|
boolean
|
|
|
Explicitly specify whether or not to include the
control points of a shape (see "-s" flag) in the list of attributes.
Default: false.
|
|