Difference between revisions of "VS:SetArc"

From Vectorworks Developer
Jump to: navigation, search
m (1 revision)
 
m (1 revision)
 

Latest revision as of 10: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
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox