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

Synopsis

move [-absolute] [-localSpace] [-moveX] [-moveXY] [-moveXYZ] [-moveXZ] [-moveY] [-moveYZ] [-moveZ] [-objectSpace] [-parameter] [-preserveUV] [-reflection] [-reflectionAboutBBox] [-reflectionAboutOrigin] [-reflectionAboutX] [-reflectionAboutY] [-reflectionAboutZ] [-reflectionTolerance float] [-relative] [-rotatePivotRelative] [-scalePivotRelative] [-worldSpace] [-worldSpaceDistance] float float float [objects]

move is undoable, NOT queryable, and NOT editable.

The move command is used to change the positions of geometric objects. The default behaviour, when no objects or flags are passed, is to do a absolute move on each currently selected object in the world space. The value of the coordinates are interpreted as being defined in the current linear unit unless the unit is explicitly mentioned. When using -objectSpace there are two ways to use this command. If numbers are typed without units then the internal values of the object are set to these values. If, on the other hand a unit is specified then the internal value is set to the equivalent internal value that represents that world-space distance. The -localSpace flag moves the object in its parent space. In this space the x,y,z values correspond directly to the tx, ty, tz channels on the object. The -rotatePivotRelative/-scalePivotRelative flags can be used with the -absolute flag to translate an object so that its pivot point ends up at the given absolute position. These flags will be ignored if components are specified. The -worldSpaceDistance flag is a modifier flag that may be used in conjunction with the -objectSpace/-localSpace flags. When this flag is specified the command treats the x,y,z values as world space units so the object will move the specified world space distance but it will move along the axis specified by the -objectSpace/-localSpace flag. The default behaviour, without this flag, is to treat the x,y,z values as units in object space or local space. In other words, the worldspace distance moved will depend on the transformations applied to the object unless this flag is specified.

Return value

None

Related

rotate, scale, xform

Flags

absolute, localSpace, moveX, moveXY, moveXYZ, moveXZ, moveY, moveYZ, moveZ, objectSpace, parameter, preserveUV, reflection, reflectionAboutBBox, reflectionAboutOrigin, reflectionAboutX, reflectionAboutY, reflectionAboutZ, reflectionTolerance, relative, rotatePivotRelative, scalePivotRelative, worldSpace, worldSpaceDistance
Long name (short name) Argument types Properties
-absolute(-a) create
Perform an absolute operation.
-relative(-r) create
Perform a operation relative to the object's current position
-reflection(-rfl) create
To move the corresponding symmetric components also.
-reflectionAboutOrigin(-rao) create
Sets the position of the reflection axis at the origin
-reflectionAboutBBox(-rab) create
Sets the position of the reflection axis at the geometry bounding box
-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
-worldSpace(-ws) create
Move in world space
-objectSpace(-os) create
Move in object space
-localSpace(-ls) create
Move in local space
-parameter(-p) create
Move in parametric space
-worldSpaceDistance(-wd) create
Move is specified in world space units
-moveX(-x) create
Move in X direction
-moveY(-y) create
Move in Y direction
-moveZ(-z) create
Move in Z direction
-moveXY(-xy) create
Move in XY direction
-moveXZ(-xz) create
Move in XZ direction
-moveYZ(-yz) create
Move in YZ direction
-moveXYZ(-xyz) create
Move in all directions (default)
-rotatePivotRelative(-rpr) create
Move relative to the object's rotate pivot point.
-scalePivotRelative(-spr) create
Move relative to the object's scale pivot point.
-preserveUV(-puv) create
When true, UV values on translated components are projected along the translation 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.

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

polySphere;
move 1 1 1;
move -y 5;
move -relative -objectSpace -worldSpaceDistance 1in 1in 1in;
move -absolute 0 0 0 pSphere1;