pymel.core.general.createNode

createNode(*args, **kwargs)

This command creates a new node in the dependency graph of the specified type.

Flags:
  • name : n (unicode) [create]

    Sets the name of the newly-created node.

  • parent : p (unicode) [create]

    Specifies the parent in the DAG under which the new node belongs.

  • shared : s (bool) [create]

    This node is shared across multiple files, so only create it if it does not already exist.

  • skipSelect : ss (bool) [create]

    This node is not to be selected after creation, the original selection will be preserved. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.createNode

Previous topic

pymel.core.general.createDisplayLayer

Next topic

pymel.core.general.currentUnit

Core

Core Modules

Other Modules

This Page