Skip to content

Latest commit

 

History

History
42 lines (33 loc) · 743 Bytes

File metadata and controls

42 lines (33 loc) · 743 Bytes

Duplicate

Description

Procedure Duplicate copies the currently selected objects and moves them the specified offset distance.

PROCEDURE Duplicate(offset : REAL);
def vs.Duplicate(offset):
    return None

Parameters

Name Type Description
offset REAL Offset value.

Remarks

If user has "Offset Duplications" turned off, Duplicate ignores the x/y.

Examples

==== VectorScript ====

Rect(0,1,1,0);
Duplicate(2,0);
{duplicates the rectangle 2 units right of the original}

==== Python ====

vs.Rect(0,1,1,0)
vs.Duplicate(2,0)
#{duplicates the rectangle 2 units right of the original}

Version

Availability: from All Versions

Category

  • Object Editing