pymel.core.modeling.manipPivot

manipPivot(*args, **kwargs)

Changes transform component pivot used by the move/rotate/scale manipulators. In query mode, return type is based on queried flag.

Flags:

Long Name / Short Name Argument Types Properties
ori / o float, float, float ../../../_images/create.gif ../../../_images/query.gif
  Component pivot orientation in world-space.
oriValid / ov bool ../../../_images/query.gif
  Returns true if component pivot orientation is valid.
orientation / o float, float, float  
   
pinPivot / pin bool ../../../_images/create.gif ../../../_images/query.gif
  Pin component pivot. Selection changes will not reset the pivot position/orientation when a custom pivot is set and pinning is on.
pos / p float, float, float ../../../_images/create.gif ../../../_images/query.gif
  Component pivot position in world-space.
posValid / pv bool ../../../_images/query.gif
  Returns true if component pivot position is valid.
position / p float, float, float  
   
reset / r bool ../../../_images/create.gif
  Clear the saved component pivot position and orientation.
resetOri / ro bool ../../../_images/create.gif
  Clear the saved component pivot orientation.
resetPos / rp bool ../../../_images/create.gif
  Clear the saved component pivot position.
snapOri / so bool ../../../_images/create.gif ../../../_images/query.gif
  Snap pivot orientation. Modify pivot orientation when snapping the pivot to a component.
snapPos / sp bool ../../../_images/create.gif ../../../_images/query.gif
  Snap pivot position. Modify pivot position when snapping the pivot to a component.
valid / v bool ../../../_images/query.gif
  Returns true if component pivot position or orientation is valid. Flag can have multiple arguments, passed either as a tuple or a list.

Derived from mel command maya.cmds.manipPivot