pymel.core.general.ungroup

ungroup(*args, **kwargs)

This command ungroups the specified objects. The objects will be placed at the same level in the hierarchy the group node occupied unless the -w flag is specified, in which case they will be placed under the world. If an object is ungrouped and there is an object in the new group with the same name then this command will rename the ungrouped object. See also:group, parent, instance, duplicate

Flags:
  • absolute : a (bool) [create]

    preserve existing world object transformations (overall object transformation is preserved by modifying the objects local transformation) [default] Flag can have multiple arguments, passed either as a tuple or a list.

  • parent : p (unicode) [create]

    put the ungrouped objects under the given parent

  • relative : r (bool) [create]

    preserve existing local object transformations (don’t modify local transformation)

  • world : w (bool) [create]

    put the ungrouped objects under the world

Derived from mel command maya.cmds.ungroup

Previous topic

pymel.core.general.transformLimits

Next topic

pymel.core.general.upAxis

Core

Core Modules

Other Modules

This Page