VS:SetArc

From Vectorworks Developer
Revision as of 18:01, 27 April 2008 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.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
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox