VS:SetArc: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
(No difference)
|
Latest revision as of 14:37, 12 August 2013
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
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
h HANDLE Handle to arc. startAngle REAL New start angle of arc. arcAngle REAL New sweep angle of arc.
Example
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