Edit3DComponent

Edits a specified 3D component by saving it to a new name so that its properties are accessible. To change the properties on an existing component without changing its name, see ChangeProperty.

UI Access N/A
Parameters
Name Type Description
<compName> String Component name.

<Parameters>

Array

Structured array.

Array("NAME:EditComponentParametersData",

"NewComponentName:=", <string>,

"GeometryParameters:=", <string>,

"MaterialParameters:=", <string>,

"DesignParameters:=", <string>,

<ComponentMeshing>,

<Excitations>)

<ComponentMeshing> Array Structured array.

Array("NAME:Component Meshing",

"MeshAssembly:=", <boolean>)

<Excitations> Array Structured array containing array of suppressed excitations.

Array("NAME:Excitations",

"Suppressed:=", <array>)

Return Value None.

Python Syntax

Edit3DComponent (<compName>, <Parameters>)

Python Example

oEditor.Edit3DComponent(

"Connector1",

["NAME:EditComponentParametersData",

"NewComponentName:=", "Connector2",

"GeometryParameters:=", "",

"MaterialParameters:=", "",

"DesignParameters:=", "",

["NAME:Component Meshing",

"MeshAssembly:=", False],

["NAME:Excitations",

"Suppressed:=", []]

]

)