Go to: Synopsis. Return value. Flags. Python examples.
setNodeTypeFlag([display=[boolean, int]])
Note: Strings representing object names and arguments must be separated by commas. This is not depicted in the synopsis.
setNodeTypeFlag is undoable, NOT queryable, and NOT editable.
This command sets static data on the specified node type tag. This will affect the class of node type as a whole.| int |
| Long name (short name) | Argument types | Properties | ||
|---|---|---|---|---|
display(dsp)
|
[boolean, int]
|
|
||
|
||||
import maya.cmds as cmds
# don't display unit conversion nodes
cmds.setNodeTypeFlag( display=('false', cmds.objectType(tagFromType='unitConversion')) )