pymel.core.rendering.projectionManip

static rendering.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 ../../../_images/create.gif
 
Fit the projection manipulator size and position to the shading group bounding box. The orientation is not modified.
projType (pt) int ../../../_images/create.gif
 

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 ../../../_images/create.gif
 

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 )

Previous topic

pymel.core.rendering.pointLight

Next topic

pymel.core.rendering.psdChannelOutliner

Core

Core Modules

Other Modules

This Page