pymel.core.general.removeMultiInstance

removeMultiInstance(*args, **kwargs)

Removes a particular instance of a multiElement. This is only useful for input attributes since outputs will get regenerated the next time the node gets executed. This command will remove the instance and optionally break all incoming and outgoing connections to that instance. If the connections are not broken (with the -b true) flag, then the command will fail if connections exist.

Flags:
  • b : b (bool) [create]

    If the argument is true, all connections to the attribute will be broken before the element is removed. If false, then the command will fail if the element is connected. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.removeMultiInstance

Previous topic

pymel.core.general.relationship

Next topic

pymel.core.general.rename

Core

Core Modules

Other Modules

This Page