pymel.core.modeling.manipPivot — PyMEL 1.0.7 documentation

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. When the component pivot is set and pinned selection changes will not reset the pivot position and orientation.
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  
   
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. Flag can have multiple arguments, passed either as a tuple or a list.

snapPos / sp bool ../../../_images/create.gif ../../../_images/query.gif
 
Snap pivot position. Modify pivot position when snapping the pivot to a component.

Derived from mel command maya.cmds.manipPivot