Skip to content

Latest commit

 

History

History
41 lines (32 loc) · 706 Bytes

File metadata and controls

41 lines (32 loc) · 706 Bytes

SetAngle

Description

Set angle of the passed object.

PROCEDURE SetAngle(
				h     : HANDLE;
				value : REAL);
def vs.SetAngle(h, value):
    return None

Parameters

Name Type Description
h HANDLE Handle to object.
value REAL The new rotation angle of the object. Angle in degrees (-180;180] measured from (1,0) vector.

Examples

SetAngle(h, 1.0);
import vs

# Set angle of the passed object.
h = vs.FSActLayer()  # handle to the first selected object on the active layer
value = 1.0

vs.SetAngle(h, value)

Version

Availability: from Vectorworks14.0

Category