3D Modeler Editor Script Commands

3D Modeler commands should be executed by the "3D Modeler" editor:

Set oEditor = oDesign.SetActiveEditor("3D Modeler")

oEditor.<CommandName>

Conventions Used in this Chapter:

<AttributesArray>

<AttributesArray> takes the following structure:

Array("NAME:Attributes",

"Name:=", <string>,

"Flags:=", <string>,

"Color:=", <string>,

"Transparency:=", <value>,

"PartCoordinateSystem:=", <string>,

"UDMId:=", <string>,

"MaterialValue:=", <string>,

"SurfaceMaterialValue:=", <string>,

"Solveinside:=", <boolean>,

"ShellElement:=", <boolean>,

"ShellElementThickness:=", <string>,

"IsMaterialEditable:=", <boolean>,

"UseMaterialAppearance:=", <boolean>,

"IsLightweight:=", <boolean>)

Where:

<SelectionsArray>

<SelectionsArray> typically takes the following structure:

Array("NAME:Selections",

"Selections:=", <string>)

Where:

In some cases, <SelectionsArray> takes additional parameters:

Array("NAME:Selections",

"AllowRegionDependentPartSelectionForPMLCreation:=", <boolean>,

"AllowRegionSelectionForPMLCreation:=", <boolean>,

"Selections:=", <string>,

"NewPartsModelFlag:=" , <string>,

"UseCurrentCS:=", <boolean>)

Where:

Note:

Selections is the only parameter required in all 3D Modeler Editor scripts. See individual scripts for additional required parameters.

Organization

3D Modeler editor scripts are organized into the following categories:

Draw Menu Commands

Edit Menu Commands

Modeler Menu Commands

Cable Modeling Commands

Other oEditor Commands