Skip to content

Latest commit

 

History

History
62 lines (52 loc) · 1.14 KB

File metadata and controls

62 lines (52 loc) · 1.14 KB

MoveObjs

Description

Procedure MoveObjs moves object(s) a specified offset distance. The last two parameters, allLayers and allObjects, control which objects are offset by this procedure.

{| class="wikitable_c" |+ Table - Effect of MoveObjs Parameters

! allLayers !! allObjects !! Effect
TRUE
TRUE
Move all objects on all layers
-
TRUE
FALSE
Move selected objects on all layers
-
FALSE
TRUE
Move all objects on active layer
-
FALSE
FALSE
Move selected objects on active layer
}
PROCEDURE MoveObjs(
				move       : REAL;
				allLayers  : BOOLEAN;
				allObjects : BOOLEAN);
def vs.MoveObjs(move, allLayers, allObjects):
    return None

Parameters

Name Type Description
move REAL X-Y object offset distance.
allLayers BOOLEAN Move objects on all layers option setting.
allObjects BOOLEAN Move all objects option setting.

Examples

==== VectorScript ====

MoveObjs(3,0,FALSE,FALSE);
{ moves selected objects on active layer 3 units to the right }

==== Python ====

Version

Availability: from All Versions

Category

  • Object Editing