CreateArc (Schematic Editor)

Create an arc

UI Access Draw > Primitive > Arc
Parameters
Name Type Description
<ArcData> 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

["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.

Symbol tab of the Properties window displaying the Schematic ID

 

Python Syntax CreateArc(<ArcData>, <Attributes>)
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])