Go to: Synopsis. Return value. Keywords. Related. Flags. MEL examples.
listConnections [-connections boolean] [-destination boolean] [-exactType boolean] [-fullNodeName boolean] [-plugs boolean] [-shapes boolean] [-skipConversionNodes boolean] [-source boolean] [-type string]
listConnections is NOT undoable, NOT queryable, and NOT editable.
This command returns a list of all attributes/objects of a specified type that are connected to the given object(s). If no objects are specified then the command lists the connections on selected nodes.string[] | List of connection plugs/nodes |
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-connections(-c)
|
boolean
|
|||
|
||||
-destination(-d)
|
boolean
|
|||
|
||||
-exactType(-et)
|
boolean
|
|||
|
||||
-fullNodeName(-fnn) 2024
|
boolean
|
|||
|
||||
-plugs(-p)
|
boolean
|
|||
|
||||
-shapes(-sh)
|
boolean
|
|||
|
||||
-skipConversionNodes(-scn)
|
boolean
|
|||
|
||||
-source(-s)
|
boolean
|
|||
|
||||
-type(-t)
|
string
|
|||
|
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. |
sphere -ch on -n BALL; setKeyframe; // List all connections to BALL string $list[] = `listConnections BALL`; // List only incoming connections from BALL.tx listConnections -d off -s on BALL.tx; // List connections from BALL to nodes of type 'transform' listConnections -t transform; // List connections on BALL, ignoring unit conversion nodes listConnections -scn on BALL;