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

Synopsis

listNodeTypes [-exclude string] string

listNodeTypes is undoable, NOT queryable, and NOT editable.

Lists dependency node types satisfying a specified classification string.

See the 'getClassification' command for a list of the standard classification strings.

Return value

string[]The type names of all node types in the system that satisfy the given classification string.

Flags

exclude
Long name (short name) Argument types Properties
-exclude(-ex) string create
Nodes that satisfies this exclude classification will be filtered out.

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

// List all shader types in the system
listNodeTypes "shader";

// List all 2D textures that are also shaders
listNodeTypes "texture/2D:shader";

// List all volume shading nodes that are neither utility nodes nor particle nodes
listNodeTypes -ex "shader/volume/utility:shader/volume/particle" "shader/volume";