CreateCircle

Creates a circle.

UI Access Draw > Circle.
Parameters
Name Type Description

<Parameters>

Array

Structured array.

Array("NAME:CircleParameters",

"IsCovered:=", <boolean>,

"XCenter:=", <value>,

"YCenter:=", <value>,

"ZCenter:=", <value>,

"Radius:=", <value>,

"WhichAxis:=", <string>

"NumSegments:=", <string containing integer>)

<AttributesArray> Array Structured array. See: AttributesArray.
Return Value None.

Python Syntax

CreateCircle(<Parameters>, <Attributes>)

Python Example

oEditor.CreateCircle(

["NAME:CircleParameters",

"IsCovered:=" , True,

"XCenter:=" , "5.5mm",

"YCenter:=" , "-3mm",

"ZCenter:=" , "0mm",

"Radius:=" , "0.707106781186548mm",

"WhichAxis:=" , "Z",

"NumSegments:=" , "0"

],

["NAME:Attributes",

"Name:=" , "Circle1",

"Flags:=" , "",

"Color:=" , "(143 175 143)",

"Transparency:=" , 0,

"PartCoordinateSystem:=", "Global",

"UDMId:=" , "",

"MaterialValue:=" , "\"copper\"",

"SurfaceMaterialValue:=", "\"\"",

"SolveInside:=" , False,

"ShellElement:=" , False,

"ShellElementThickness:=", "0mm",

"IsMaterialEditable:=" , True,

"UseMaterialAppearance:=", False,

"IsLightweight:=" , False

])