Set angle of the passed object.
PROCEDURE SetAngle(
h : HANDLE;
value : REAL);def vs.SetAngle(h, value):
return None| 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. |
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)Availability: from Vectorworks14.0