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

])

VB Syntax

CreateCircle <Parameters>, <Attributes>

VB Example

oEditor.CreateCircle Array("NAME:CircleParameters", "IsCovered:=", true, "XCenter:=", _

"7mm", "YCenter:=", "-6mm", "ZCenter:=", "0mm", "Radius:=", "0.5mm", "WhichAxis:=", _

"Z", "NumSegments:=", "0"), Array("NAME:Attributes", "Name:=", "Circle2", "Flags:=", _

"", "Color:=", "(143 175 143)", "Transparency:=", 0, "PartCoordinateSystem:=", _

"Global", "UDMId:=", "", "MaterialValue:=", "" & Chr(34) & "copper" & Chr(34) & "", "SurfaceMaterialValue:=", _

"" & Chr(34) & "" & Chr(34) & "", "SolveInside:=", false, "ShellElement:=", _

false, "ShellElementThickness:=", "0mm", "IsMaterialEditable:=", true, "UseMaterialAppearance:=", _

false, "IsLightweight:=", false)