Skip to content

Latest commit

 

History

History
48 lines (40 loc) · 872 Bytes

File metadata and controls

48 lines (40 loc) · 872 Bytes

SetArc

Description

Procedure SetArc sets the start and sweep angles of the referenced arc or round wall object. Specify the angles in degrees.

PROCEDURE SetArc(
				h          : HANDLE;
				startAngle : REAL;
				arcAngle   : REAL);
def vs.SetArc(h, startAngle, arcAngle):
    return None

Parameters

Name Type Description
h HANDLE Handle to arc.
startAngle REAL New start angle of arc.
arcAngle REAL New sweep angle of arc.

Examples

VectorScript

PROCEDURE GetArcSetArcExample;
VAR
h :HANDLE;
startAng, sweepAng :REAL;
BEGIN
h := FSActLayer;
GetArc(h, startAng, sweepAng);
SetArc(h, startAng, sweepAng + 10);
END;
RUN(GetArcSetArcExample);

Python

Version

Availability: from All Versions

Category