CreateCutplane

Creates a cutplane.

UI Access Draw > Plane.
Parameters
Name Type Description

<Parameters>

Array

Structured array.

Array("NAME:PlaneParameters",

"PlaneBaseX:=", <string>,

"PlaneBaseY:=", <string>,

"PlaneBaseZ:=", <string>,

"PlaneNormalX:=", <string>,

"PlaneNormalY:=", <string>),

"PlaneNormalZ:=", <string>)

<AttributesArray> Array See: AttributesArray. CreateCutplane only takes the Name and Color attributes.
Return Value None.

Python Syntax

CreateCutplane(<Parameters>, <Attributes>)

Python Example

oEditor.CreateCutplane(

["NAME:PlaneParameters",

"PlaneBaseX:=" , "-0.6mm",

"PlaneBaseY:=" , "-0.8mm",

"PlaneBaseZ:=" , "0mm",

"PlaneNormalX:=" , "1.2mm",

"PlaneNormalY:=" , "0.2mm",

"PlaneNormalZ:=" , "0mm"

],

["NAME:Attributes",

"Name:=" , "Plane1",

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

])

VB Syntax

CreateCutplane <Parameters>, <Attributes>

VB Example

oEditor.CreateCutplane Array("NAME:PlaneParameters", "PlaneBaseX:=", "0.6mm", "PlaneBaseY:=", _

"1.2mm", "PlaneBaseZ:=", "0mm", "PlaneNormalX:=", "0.4mm", "PlaneNormalY:=", _

"0.6mm", "PlaneNormalZ:=", "0mm"), Array("NAME:Attributes", "Name:=", "Plane2", "Color:=", _

"(143 175 143)")