CreateArc (Schematic Editor)

Create an arc

UI Access Draw>Primitive>Arc
Parameters
Name Type Description
<ArcData> Array

Array("NAME:ArcData" _

"x:=", double, _ // X position of the object

"y:=", double, _ // Y position of the object

"Radius:=", double, _ // Radius of the circle

"StartAng:=", double,_ // Start angle of the arc (radians)

"EndAng:=", double, _ // End angle of the arc (radians)

"LineWidth:=", double, // the width of the line, in meters

"Color:=", int, // the RBG value of the arc color

"Id:=", int), // [Opt=New id] Id for this item

<Attributes> Array

Array("NAME:Attributes", _

"Page:=", int) _ // [Opt=1] Page number (one-based)

[out,retval] string id)

Return Value String

Unique id

Arc is created with the format SchObj@<schematicID>

The Schematic ID can be found on the Symbols tab of the Properties window when you select the arc.

 

Python Syntax CreateArc()
Python Example

oEditor.CreateArc

(["NAME:ArcData", _

"X:=", -0.004318, "Y:=", -0.00127, _

"Radius:=", 0.00297299377732279, _

"StartAng:=", 1.9195673303788, _

"EndAng:=", 3.32144615338227, _

"Id:=", 10], _ ["NAME:Attributes", "Page:=", 1])