Go to: Synopsis. Return value. Keywords.
Related. Flags.
MEL examples.
affects [-by]
[-type string] string
affects is NOT undoable, NOT queryable, and NOT
editable.
This command returns the list of attributes on a node or node type
which affect the named attribute.
string |
List of affected/affecting attributes |
attribute, node, class, dg
affectedNet, listConnections
by, type
Long name (short name) |
Argument types |
Properties |
-by(-) |
|
|
|
Show attributes that are affected by the given one rather than
the ones that affect it. |
|
-type(-t) |
string |
|
|
static node type from which to get 'affects' information |
|
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. |
// List the attributes on node "sphere" that affect the "tx" attribute
sphere -n sphere;
affects tx sphere;
// List the attributes on nodes of type "transform" that are affected by
// the "ty" attribute
affects ty -by -t transform;
// List the attributes on nodes of type "revolve" that affect the
// "outputSurface" attribute
affects outputSurface -t revolve;