pymel.core.general.reorder

reorder(*args, **kwargs)

This command reorders (moves) objects relative to their siblings. For relative moves, both positive and negative numbers may be specified. Positive numbers move the object forward and negative numbers move the object backward amoung its siblings. When an object is at the end (beginning) of the list of siblings, a relative move of 1 (-1) will put the object at the beginning (end) of the list of siblings. That is, relative moves will wrap if necessary. If a shape is specified and it is the only child then its parent will be reordered.

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

    Move object(s) to back of sibling list.

  • front : f (bool) [create]

    Move object(s) to front of sibling list.

  • relative : r (int) [create]

    Move object(s) relative to other siblings. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.reorder

Previous topic

pymel.core.general.renameAttr

Next topic

pymel.core.general.reorderContainer

Core

Core Modules

Other Modules

This Page