This command can be used to create, edit, or query a dolly context.
Long name (short name) | Argument Types | Properties | |
---|---|---|---|
alternateContext (ac) | bool | ||
|
|||
boxDollyType (bdt) | unicode | ||
Set the behavior of where the camera’s center of interest is set to after the box dolly. In surfacemode, the center of interest will be snapped to the surface point at the center of the marquee. In bboxmode, the closest bounding box to the camera will be used. Bounding box mode will use the selection mask to determine which objects to include into the calculation. |
|||
centerOfInterestDolly (cd) | bool | ||
Set the translate the camera’s center of interest. Left and right drag movements with the mouse will translate the center of interest towards or away respectively from the camera. The center of interest can be snapped to objects by using the left mouse button for selection. The default select mask will be used. |
|||
dollyTowardsCenter (dtc) | bool | ||
Dolly towards center (if true), else dolly towards point where user clicks in the view.Flag can appear in Create mode of commandFlag can have multiple arguments, passed either as a tuple or a list. |
|||
exists (ex) | bool | ||
history (ch) | bool | ||
image1 (i1) | unicode | ||
image2 (i2) | unicode | ||
image3 (i3) | unicode | ||
localDolly (ld) | bool | ||
|
|||
name (n) | unicode | ||
scale (s) | float | ||
|
|||
toolName (tn) | unicode | ||
Derived from mel command maya.cmds.dollyCtx
Example:
import pymel.core as pm
import maya.cmds as cmds
pm.dollyCtx( 'dollyContext', s=1.0, ac=False, ld=False, cd=False )
pm.dollyCtx( 'dollyContext', e=True, bdt='surface' )