This command sets static data on the specified node type tag. This will affect the class of node type as a whole.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
display (dsp) | bool, int | ||
Sets whether the node type will appear in the UI or not. Setting display to false will cause the node type to not appear in the UI. The first argument determines whether display is true are false and the second argument is the node type tag. The node type tag can be found using the objectType cmd. Flag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.setNodeTypeFlag
Example:
import pymel.core as pm
# don't display unit conversion nodes
pm.setNodeTypeFlag( display=('false', pm.objectType(tagFromType='unitConversion')) )
# Result: True #