Various commands to set the manipulator to interesting positions. In query mode, return type is based on queried flag.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
fitBBox (fb) | bool | ||
|
|||
projType (pt) | int | ||
Set the projection type to the given value. Projection type values are: 1 = planar.2 = spherical.3 = cylindrical.4 = ball.5 = cubic.6 = triplanar.7 = concentric.8 = camera. |
|||
switchType (st) | bool | ||
Loop over the allowed types. If the hardware shading is on, it loops over the hardware shadeable types (planar, cylindrical, spherical), otherwise, it loops over all the types. If there is no given value, it loops over the different projection types.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.projectionManip
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.projectionManip( fb=True )
pm.projectionManip( pt=3 )