transformLimits is undoable, queryable, and editable.
The transformLimits command allows us to set, edit, or query the
limits of the transformation that can be applied to objects. We can
also turn any limits off which may have been previously set. When
an object is first created, all the transformation limits are off
by default.Transformation limits allow us to control how much an
object can be transformed. This is most useful for joints, although
it can be used any place we would like to limit the movement of an
object.Default values are:In query mode, return type is based on queried flag.
Long name (short name) |
Argument types |
Properties |
-remove(-rm) |
|
 |
|
turn all the limits off and reset them to their default
values |
|
-translationX(-tx) |
linear linear |
 |
|
set the lower and upper x-translation limits
When queried, it returns linear linear |
|
-translationY(-ty) |
linear linear |
 |
|
set the lower and upper y-translation limits
When queried, it returns linear linear |
|
-translationZ(-tz) |
linear linear |
 |
|
set the lower and upper z-translation limits
When queried, it returns linear linear |
|
-enableTranslationX(-etx) |
boolean boolean |
 |
|
enable/disable the ower and upper x-translation limits
When queried, it returns boolean boolean |
|
-enableTranslationY(-ety) |
boolean boolean |
 |
|
enable/disable the lower and upper y-translation limits
When queried, it returns boolean boolean |
|
-enableTranslationZ(-etz) |
boolean boolean |
 |
|
enable/disable the lower and upper z-translation limits
When queried, it returns boolean boolean |
|
-rotationX(-rx) |
angle angle |
 |
|
set the lower and upper x-rotation limits
When queried, it returns angle angle |
|
-rotationY(-ry) |
angle angle |
 |
|
set the lower and upper y-rotation limits
When queried, it returns angle angle |
|
-rotationZ(-rz) |
angle angle |
 |
|
set the lower and upper z-rotation limits
When queried, it returns angle angle |
|
-enableRotationX(-erx) |
boolean boolean |
 |
|
enable/disable the lower and upper x-rotation limits
When queried, it returns boolean boolean |
|
-enableRotationY(-ery) |
boolean boolean |
 |
|
enable/disable the lower and upper y-rotation limits
When queried, it returns boolean boolean |
|
-enableRotationZ(-erz) |
boolean boolean |
 |
|
enable/disable the lower and upper z-rotation limits
When queried, it returns boolean boolean |
|
-scaleX(-sx) |
float float |
 |
|
set the lower and upper x-scale limits
When queried, it returns float float |
|
-scaleY(-sy) |
float float |
 |
|
set the lower and upper y-scale limits
When queried, it returns float float |
|
-scaleZ(-sz) |
float float |
 |
|
set the lower and upper z-scale limits
When queried, it returns float float |
|
-enableScaleX(-esx) |
boolean boolean |
 |
|
enable/disable the lower and upper x-scale limits
When queried, it returns boolean boolean |
|
-enableScaleY(-esy) |
boolean boolean |
 |
|
enable/disable the lower and upper y-scale limits
When queried, it returns boolean boolean |
|
-enableScaleZ(-esz) |
boolean boolean |
 |
|
enable/disable the lower and upper z-scale limits
When queried, it returns boolean boolean |
|