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:( -1, 1) for translation, ( -1, 1) for scaling, and (-45,45) for rotation. In query mode, return type is based on queried flag.
enable/disable the lower and upper x-rotation limitsWhen queried, it returns boolean boolean
enable/disable the lower and upper y-rotation limitsWhen queried, it returns boolean boolean
enable/disable the lower and upper z-rotation limitsWhen queried, it returns boolean boolean
enable/disable the lower and upper x-scale limitsWhen queried, it returns boolean boolean
enable/disable the lower and upper y-scale limitsWhen queried, it returns boolean boolean
enable/disable the lower and upper z-scale limitsWhen queried, it returns boolean booleanFlag can have multiple arguments, passed either as a tuple or a list.
enable/disable the ower and upper x-translation limitsWhen queried, it returns boolean boolean
enable/disable the lower and upper y-translation limitsWhen queried, it returns boolean boolean
enable/disable the lower and upper z-translation limitsWhen queried, it returns boolean boolean
turn all the limits off and reset them to their default values
set the lower and upper x-rotation limitsWhen queried, it returns angle angle
set the lower and upper y-rotation limitsWhen queried, it returns angle angle
set the lower and upper z-rotation limitsWhen queried, it returns angle angle
set the lower and upper x-scale limitsWhen queried, it returns float float
set the lower and upper y-scale limitsWhen queried, it returns float float
set the lower and upper z-scale limitsWhen queried, it returns float float
set the lower and upper x-translation limitsWhen queried, it returns linear linear
set the lower and upper y-translation limitsWhen queried, it returns linear linear
set the lower and upper z-translation limitsWhen queried, it returns linear linear
Derived from mel command maya.cmds.transformLimits