Go to: Synopsis. Return value. Related. Flags. MEL examples.
createNode [-name string] [-parent string] [-shared] [-skipSelect]
nodeType
createNode is undoable, queryable, and editable.
This command creates a new node in the dependency graph of the specified type.string (The name of the new node.)
In query mode, return type is based on queried flag.
| Long name (short name) | argument types | Properties | ||
|---|---|---|---|---|
-name(-n)
|
string
|
|
||
|
||||
-parent(-p)
|
string
|
|
||
|
||||
-shared(-s)
|
|
|
||
|
||||
-skipSelect(-ss)
|
|
|
||
|
||||
createNode "transform" -n "transform1"; createNode "nurbsSurface" -n "surface1" -p transform1; createNode "camera" -shared -n "top"; // This transform will be selected when created createNode "transform" -n "selectedTransform"; // This will create a new transform node, but 'selectedTransform' // will still be selected. createNode -ss "transform";