Go to: Synopsis. Return value. Flags. MEL examples.

Synopsis

setNodeTypeFlag [-display boolean int]

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.

Return value

int

Flags

display
Long name (short name) Argument types Properties
-display(-dsp) boolean int create
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 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.

MEL examples

// don't display unit conversion nodes
setNodeTypeFlag -display false `objectType -tagFromType unitConversion`;