CreateBox

Creates a box.

UI Access Draw > Box.
Parameters
Name Type Description

<Parameters>

Array

Structured array.

Array("NAME:BoxParameters",

"XPosition:=", <string>,

"YPosition:=", <string>,

"ZPosition:=", <string>,

"XSize:=" , <string>,

"YSize:=" , <string>,

"ZSize:=" , <string>)

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

 

Python Syntax

CreateBox(<Parameters>, <Attributes>)

Python Example

oEditor.CreateBox(

["NAME:BoxParameters",

"XPosition:=" , "0.5mm",

"YPosition:=" , "-6.5mm",

"ZPosition:=" , "0mm",

"XSize:=" , "2mm",

"YSize:=" , "1.5mm",

"ZSize:=" , "1.5mm"

],

["NAME:Attributes",

"Name:=" , "Box3",

"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

])