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

Synopsis

affects [-by]

affects is NOT undoable, NOT queryable, and NOT editable.

This command gets the list of attributes on a node or node type that are affected by the named attribute.

Return value

stringList of affected/affecting attributes

Keywords

attribute, node, class, dg

Related

affectedNet, listConnections

Flags

by
Long name (short name) Argument types Properties
-by(-) create
Show attributes affecting given one instead of ones it affects

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.

MEL examples

// List the attributes on node "sphere" that the "tx" attribute affects
sphere -n sphere;
affects tx sphere;
// List the attributes on nodes of type "transform" that the "ty" attribute
// is affected by
affects ty -by -t transform;
// List the attributes on nodes of type "revolve" that the "outputSurface"
// attribute affects.
affects outputSurface -t revolve;