pymel.core.general.disconnectAttr

disconnectAttr(source, destination=None, **kwargs)

Disconnects two connected attributes. First argument is the source attribute, second is the destination.

Modifications:
  • If no destination is passed, all inputs and outputs will be disconnected from the attribute
Flags:
  • nextAvailable : na (bool) [create]

    If the destination multi-attribute has set the indexMatters to be false, the command will disconnect the first matching connection. No index needs to be specified. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.disconnectAttr

Previous topic

pymel.core.general.deleteAttr

Next topic

pymel.core.general.displayAffected

Core

Core Modules

Other Modules

This Page