This command can be used to create a track context.
Flags:
Long Name / Short Name | Argument Types | Properties | |
---|---|---|---|
alternateContext / ac | bool | ![]() ![]() ![]() |
|
|
|||
exists / ex | bool | ||
history / ch | bool | ||
image1 / i1 | unicode | ||
image2 / i2 | unicode | ||
image3 / i3 | unicode | ||
name / n | unicode | ||
toolName / tn | unicode | ||
trackGeometry / tg | bool | ![]() ![]() ![]() |
|
|
|||
trackScale / ts | float | ![]() ![]() ![]() |
|
Specify the distance to the track plane from the camera. The smaller the scale the slower the drag. Flag can have multiple arguments, passed either as a tuple or a list. |
Derived from mel command maya.cmds.trackCtx
Example:
import pymel.core as pm
pm.trackCtx( 'trackContext', ac=False, tg=False, ts=1.0 )