pymel.core.general.deleteAttr

deleteAttr(*args, **kwargs)

This command is used to delete a dynamic attribute from a node or nodes. The attribute can be specified by using either the long or short name. Only one dynamic attribute can be deleted at a time. Static attributes cannot be deleted. Children of a compound attribute cannot be deleted. You must delete the complete compound attribute. This command has no edit capabilities. The only query ability is to list all the dynamic attributes of a node. In query mode, return type is based on queried flag.

Flags:
  • attribute : at (unicode) [create]

    Specify either the long or short name of the attribute. Flag can have multiple arguments, passed either as a tuple or a list.

  • name : n (unicode) [create]

    The name of the node.

Derived from mel command maya.cmds.deleteAttr

Previous topic

pymel.core.general.delete

Next topic

pymel.core.general.disconnectAttr

Core

Core Modules

Other Modules

This Page