pymel.core.rendering.projectionManip¶
- projectionManip(*args, **kwargs)¶
Various commands to set the manipulator to interesting positions. In query mode, return type is based on queried flag.
Flags:
Long Name / Short Name Argument Types Properties fitBBox / fb bool Fit the projection manipulator size and position to the shading group bounding box. The orientation is not modified. 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 have multiple arguments, passed either as a tuple or a list. Derived from mel command maya.cmds.projectionManip
Example:
import pymel.core as pm pm.projectionManip( fb=True ) pm.projectionManip( pt=3 )