CreateCircle (Schematic Editor)

Creates a circle.

UI Access Draw > Primitive > Circle
Parameters
Name Type Description
<CircleData> Array

["NAME:CircleData"

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

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

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

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

"Bordercolor:=", int, // the RBG value of the border color

"Fill:=", int, // the fill pattern id, 0 = hollow, 1 = solid, 2 = NEDiagonal,

3 = OrthoCross, 4 = DiagCross, 5 = NWDiagonal, 6 = Horizontal, 7 = Vertical

"Color:=", int, // the RBG value of the circle fill 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

Circle is created and the returned value has the format SchObj@<schematicID>

The schematic ID of the circle can be located in the Properties window on the Symbols tab.

Symbol tab of the Properties window displaying the schematic ID
Python Syntax CreateCircle(<CircleData>,<Attributes>)
Python Example

oEditor.CreateCircle(

["NAME:CircleData",

"X:=", -0.004572, "Y:=", -0.000508,

"Radius:=", 0.001778, "Id:=", 12

],

["NAME:Attributes", "Page:=", 1

])