Go to: Synopsis. Return value. Related. Flags. MEL examples.

Synopsis

scale [-absolute] [-centerPivot] [-constrainAlongNormal] [-deletePriorHistory boolean] [-distanceOnly] [-objectCenterPivot] [-pivot linear linear linear] [-preserveChildPosition] [-preserveGeometryPosition] [-preserveUV] [-reflection] [-reflectionAboutBBox] [-reflectionAboutOrigin] [-reflectionAboutX] [-reflectionAboutY] [-reflectionAboutZ] [-reflectionTolerance float] [-relative] [-scaleX] [-scaleXY] [-scaleXYZ] [-scaleXZ] [-scaleY] [-scaleYZ] [-scaleZ] [-symNegative] [-xformConstraint string] float float float [objects]

scale is undoable, NOT queryable, and NOT editable.

The scale command is used to change the sizes of geometric objects.

The default behaviour, when no objects or flags are passed, is to do a relative scale on each currently selected object object using each object's existing scale pivot point.

Return value

None

Related

move, rotate, xform, xformConstraint

Flags

absolute, centerPivot, constrainAlongNormal, deletePriorHistory, distanceOnly, objectCenterPivot, pivot, preserveChildPosition, preserveGeometryPosition, preserveUV, reflection, reflectionAboutBBox, reflectionAboutOrigin, reflectionAboutX, reflectionAboutY, reflectionAboutZ, reflectionTolerance, relative, scaleX, scaleXY, scaleXYZ, scaleXZ, scaleY, scaleYZ, scaleZ, symNegative, xformConstraint
Long name (short name) Argument types Properties
-absolute(-a) create
Perform an absolute operation.
-centerPivot(-cp) create
Let the pivot be the center of the bounding box of all objects
-constrainAlongNormal(-xn) create
When true, transform constraints are applied along the vertex normal first and only use the closest point when no intersection is found along the normal.
-deletePriorHistory(-dph) boolean create
If true then delete the history prior to the current operation.
-distanceOnly(-dso) create
Scale only the distance between the objects.
-objectCenterPivot(-ocp) create
Let the pivot be the center of the bounding box of each object
-pivot(-p) linear linear linear create
Define the pivot point for the transformation
-preserveChildPosition(-pcp) create
When true, transforming an object will apply an opposite transform to its child transform to keep them at the same world-space position. Default is false.
-preserveGeometryPosition(-pgp) create
When true, transforming an object will apply an opposite transform to its geometry points to keep them at the same world-space position. Default is false.
-preserveUV(-puv) create
When true, UV values on scaled components are projected along the axis of scaling in 3d space. For small edits, this will freeze the world space texture mapping on the object. When false, the UV values will not change for a selected vertices. Default is false.
-reflection(-rfl) create
To move the corresponding symmetric components also.
-reflectionAboutBBox(-rab) create
Sets the position of the reflection axis at the geometry bounding box
-reflectionAboutOrigin(-rao) create
Sets the position of the reflection axis at the origin
-reflectionAboutX(-rax) create
Specifies the X=0 as reflection plane
-reflectionAboutY(-ray) create
Specifies the Y=0 as reflection plane
-reflectionAboutZ(-raz) create
Specifies the Z=0 as reflection plane
-reflectionTolerance(-rft) float create
Specifies the tolerance to findout the corresponding reflected components
-relative(-r) create
Perform a operation relative to the object's current position
-scaleX(-x) create
Scale in X direction
-scaleXY(-xy) create
Scale in X and Y direction
-scaleXYZ(-xyz) create
Scale in all directions (default)
-scaleXZ(-xz) create
Scale in X and Z direction
-scaleY(-y) create
Scale in Y direction
-scaleYZ(-yz) create
Scale in Y and Z direction
-scaleZ(-z) create
Scale in Z direction
-symNegative(-smn) create
When set the component transformation is flipped so it is relative to the negative side of the symmetry plane. The default (no flag) is to transform components relative to the positive side of the symmetry plane.
-xformConstraint(-xc) string create
Apply a transform constraint to moving components.
  • none - no constraint
  • surface - constrain components to the surface
  • edge - constrain components to surface edges
  • live - constraint components to the live surface

Flag can appear in Create mode of command Flag can appear in Edit mode of command
Flag can appear in Query mode of command Flag can be used more than once in a command.

MEL examples

scale 1 1 1;
scale -pivot 1 0 0 -abs 3 3 3 curve1;