Go to: Synopsis. Return value. Keywords.
Related. Flags.
MEL examples.
findType [-deep]
[-exact] [-type
string]
findType is NOT undoable, NOT queryable, and
NOT editable.
The findType command is used to search upstream through a
dependency subgraph on a certain node to find all nodes of the
given type. These will be nodes that affect the given one.
string[] |
The list of node(s) affecting the given node(s) |
debug, node, type, search
affectedNet, affects, allNodeTypes, listConnections
deep, exact,
type
Long name (short name) |
Argument types |
Properties |
-deep(-d) |
|
|
|
Find all nodes of the given type instead of just the
first. |
|
-exact(-e) |
|
|
|
Match node types exactly instead of any in a node
hierarchy. |
|
-type(-t) |
string |
|
|
Type of node to look for (e.g. "transform"). This flag is
mandatory. |
|
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. |
createNode transform -name silly;
createNode transform -name putty;
connectAttr silly.tx putty.tx;
// Find transform nodes connected to node "silly"
//
findType -t "transform" silly;
// Result: silly putty //
select silly;
//
// Same again from selection list
//
findType -t "transform";
// Result: silly putty //
setKeyframe -t 10;
//
// Find all time nodes
//
findType -d -e -t "time";
// Result: time1 //
//
// Find all anim curve nodes
//
findType -d -t "animCurve";
// Result: silly_visibility silly_translateX silly_translateY silly_translateZ silly_rotateX silly_rotateY silly_rotateZ silly_scaleX silly_scaleY silly_scaleZ //