Go to: Synopsis. Return value. Flags. MEL examples.
manipScaleContext [-activeHandle int] [-alignAlong float float float] [-bakePivotOri boolean] [-constrainAlongNormal boolean] [-currentActiveHandle int] [-editPivotMode boolean] [-editPivotPosition] [-exists] [-image1 string] [-image2 string] [-image3 string] [-lastMode int] [-manipVisible boolean] [-mode int] [-orientAxes float float float] [-orientObject string] [-orientTowards float float float] [-pinPivot boolean] [-pivotOriHandle boolean] [-position] [-postCommand script] [-postDragCommand script string] [-preCommand script] [-preDragCommand script string] [-preserveChildPosition boolean] [-preserveUV boolean] [-preventNegativeScale boolean] [-reflection boolean] [-reflectionAbout int] [-reflectionAxis int] [-reflectionTolerance float] [-resetPivotMode int] [-scale float float float] [-snap boolean] [-snapPivotOri boolean] [-snapPivotPos boolean] [-snapRelative boolean] [-snapValue float] [-tweakMode boolean] [-useManipPivot boolean] [-useObjectPivot boolean] [-xformConstraint string]
[object]
manipScaleContext is undoable, queryable, and editable.
This command can be used to create, edit, or query a scale manip context.string | (name of the new context) |
In query mode, return type is based on queried flag.
Long name (short name) | Argument types | Properties | ||
---|---|---|---|---|
-activeHandle(-ah)
|
int
|
![]() ![]() |
||
|
||||
-alignAlong(-aa)
|
float float float
|
![]() ![]() |
||
|
||||
-bakePivotOri(-bpo)
|
boolean
|
![]() ![]() |
||
|
||||
-constrainAlongNormal(-xn)
|
boolean
|
![]() ![]() |
||
|
||||
-currentActiveHandle(-cah)
|
int
|
![]() ![]() |
||
|
||||
-editPivotMode(-epm)
|
boolean
|
![]() |
||
|
||||
-editPivotPosition(-epp)
|
|
![]() |
||
|
||||
-exists(-ex)
|
|
![]() |
||
|
||||
-image1(-i1)
|
string
|
![]() ![]() ![]() |
||
|
||||
-image2(-i2)
|
string
|
![]() ![]() ![]() |
||
|
||||
-image3(-i3)
|
string
|
![]() ![]() ![]() |
||
|
||||
-lastMode(-lm)
|
int
|
![]() |
||
|
||||
-manipVisible(-vis)
|
boolean
|
![]() |
||
|
||||
-mode(-m)
|
int
|
![]() ![]() |
||
|
||||
-orientAxes(-oa)
|
float float float
|
![]() ![]() |
||
|
||||
-orientObject(-oo)
|
string
|
![]() ![]() |
||
|
||||
-orientTowards(-ot)
|
float float float
|
![]() ![]() |
||
|
||||
-pinPivot(-pin)
|
boolean
|
![]() ![]() |
||
|
||||
-pivotOriHandle(-poh)
|
boolean
|
![]() ![]() |
||
|
||||
-position(-p)
|
|
![]() |
||
|
||||
-postCommand(-psc)
|
script
|
![]() ![]() |
||
|
||||
-postDragCommand(-pod)
|
script string
|
![]() ![]() |
||
|
||||
-preCommand(-prc)
|
script
|
![]() ![]() |
||
|
||||
-preDragCommand(-prd)
|
script string
|
![]() ![]() |
||
|
||||
-preserveChildPosition(-pcp)
|
boolean
|
![]() ![]() |
||
|
||||
-preserveUV(-puv)
|
boolean
|
![]() ![]() |
||
|
||||
-preventNegativeScale(-pns)
|
boolean
|
![]() |
||
|
||||
-reflection(-rfl)
|
boolean
|
|||
|
||||
-reflectionAbout(-rab)
|
int
|
|||
|
||||
-reflectionAxis(-rfa)
|
int
|
|||
|
||||
-reflectionTolerance(-rft)
|
float
|
|||
|
||||
-resetPivotMode(-rpm) 2025
|
int
|
![]() ![]() |
||
|
||||
-scale(-sc)
|
float float float
|
![]() ![]() |
||
|
||||
-snap(-s)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-snapPivotOri(-spo)
|
boolean
|
![]() ![]() |
||
|
||||
-snapPivotPos(-spp)
|
boolean
|
![]() ![]() |
||
|
||||
-snapRelative(-sr)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-snapValue(-sv)
|
float
|
![]() ![]() ![]() |
||
|
||||
-tweakMode(-twk)
|
boolean
|
![]() ![]() |
||
|
||||
-useManipPivot(-ump)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-useObjectPivot(-uop)
|
boolean
|
![]() ![]() ![]() |
||
|
||||
-xformConstraint(-xc)
|
string
|
![]() ![]() |
||
|
![]() |
![]() |
![]() |
![]() |
// To create a new scale context: manipScaleContext; // To query the active handle of an existing scale context: manipScaleContext -q -ah manipScaleContext1; // To edit an exiting scale context so that it comes up with the X axis // handle active by default: manipScaleContext -e -ah 0 manipScaleContext1;