CreateEllipse

Creates an ellipse.

UI Access Draw > Ellipse.
Parameters
Name Type Description

<Parameters>

Array

Structured array.

Array("NAME:EllipseParameters",

"IsCovered:=", <string>,

"XCenter:=", <string>,

"YCenter:=", <string>,

"ZCenter:=", <string>,

"MajRadius:=", <string>,

"Ratio:=", <string>,

"WhichAxis:=", <string>,

"NumSegments:=", <string>)

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

Python Syntax

CreateEllipse(<Parameters>, <Attributes>)

Python Example

oEditor.CreateEllipse(

["NAME:EllipseParameters",

"IsCovered:=" , True,

"XCenter:=" , "0.6mm",

"YCenter:=" , "-0.6mm",

"ZCenter:=" , "0mm",

"MajRadius:=" , "0.2mm",

"Ratio:=" , "7",

"WhichAxis:=" , "Z",

"NumSegments:=" , "0"

],

["NAME:Attributes",

"Name:=" , "Ellipse1",

"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

])