Skip to content

Latest commit

 

History

History
53 lines (43 loc) · 1.08 KB

File metadata and controls

53 lines (43 loc) · 1.08 KB

Rotate

Description

Procedure Rotate rotates the currently selected objects on the active layer. The rotation angle may be specified in any valid angle format. When a locus is selected with a group of objects, the objects are rotated around the locus. If two or more loci are selected, the objects are rotated around the center of the selected objects.

PROCEDURE Rotate(rotationAngle : REAL);
def vs.Rotate(rotationAngle):
    return None

Parameters

Name Type Description
rotationAngle REAL Rotation angle.

Examples

VectorScript

Rotate(45d15'23");

Python

	IF Fill THEN BEGIN
		SetFPat(LNewObj, 2);
		SetFillFore(LNewObj, red, green, blue);
	END;
	IF gMag_North THEN Rotate(gDeclination);
END;
vs.DSelectAll()
vs.CreateText( vs.PSheet_No )
vs.SetFPat( vs.LNewObj(), 0 )
vs.Rotate( dTextRotation )

vs.Rotate( sweepTmp - 90 )
hObj = vs.LNewObj()
vs.DSelectAll()

Version

Availability: from All Versions

Category