This command can be used to create, edit, or query a tumble context.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
alternateContext / ac | bool | ![]() ![]() ![]() |
|
|
|||
autoOrthoConstrain / aoc | bool | ![]() ![]() ![]() |
|
|
|||
autoSetPivot / asp | bool | ![]() ![]() ![]() |
|
|
|||
exists / ex | bool | ||
history / ch | bool | ||
image1 / i1 | unicode | ||
image2 / i2 | unicode | ||
image3 / i3 | unicode | ||
localTumble / lt | int | ![]() ![]() ![]() |
|
Describes what point the camera will tumble around: 0 for the camera’s tumble pivot1 for the camera’s center of interest2 for the camera’s local axis, offset by its tumble pivot |
|||
name / n | unicode | ||
objectTumble / ot | bool | ||
orthoLock / ol | bool | ![]() ![]() ![]() |
|
|
|||
orthoStep / os | float | ![]() ![]() ![]() |
|
Specify the angular step in degrees for orthographic rotation. If camera is orthographic and autoOrthoConstrain is toggled on the rotation will be stepped by this amount. |
|||
toolName / tn | unicode | ||
tumbleScale / ts | float | ![]() ![]() ![]() |
|
|
Derived from mel command maya.cmds.tumbleCtx
Example:
import pymel.core as pm
pm.tumbleCtx( 'tumbleContext', ts=1.0, lt=False, ac=False, ol=True )