Sets the global performance options for the application. The options allow the disabling of features such as stitch surfaces or deformers to cut down on computation time in the scene. Performance options that are in effect may be on all the time, or they can be turned on only for interaction. In the latter case, the options will only take effect during UI interaction or playback. Note that none of these performance options will affect rendering.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
clusterResolution (cr) | float | ||
|
|||
disableStitch (ds) | unicode | ||
|
|||
disableTrimBoundaryDisplay (dtb) | unicode | ||
disableTrimDisplay (dt) | unicode | ||
Sets the state of trim drawing disablement. Setting this to onsuppresses the drawing of surface trims. Valid values are on, off, interactive. Flag can have multiple arguments, passed either as a tuple or a list. |
|||
latticeResolution (lr) | float | ||
|
|||
passThroughBindSkinAndFlexors (pbf) | unicode | ||
|
|||
passThroughBlendShape (pbs) | unicode | ||
|
|||
passThroughCluster (pc) | unicode | ||
|
|||
passThroughFlexors (pf) | unicode | ||
|
|||
passThroughLattice (pl) | unicode | ||
|
|||
passThroughPaintEffects (pp) | unicode | ||
|
|||
passThroughSculpt (ps) | unicode | ||
|
|||
passThroughWire (pw) | unicode | ||
|
|||
useClusterResolution (ucr) | unicode | ||
|
|||
useLatticeResolution (ulr) | unicode | ||
|
Derived from mel command maya.cmds.performanceOptions
Example:
import pymel.core as pm
# Disable the generation of stitch surfaces
pm.performanceOptions( ds=1 )
# Put sculpt deformers into pass-through mode during interaction/playback
pm.performanceOptions( ps='interactive' )