insert_3d_component

Modeler3D.insert_3d_component(compFile, geoParams=None, szMatParams='', szDesignParams='', targetCS='Global')

Insert a new 3D component.

Parameters
compFilestr

Name of the component file.

geoParamsdict, optional

Geometrical parameters.

szMatParamsstr, optional

Material parameters. The default is "".

szDesignParamsstr, optional

Design parameters. The default is "".

targetCSstr, optional

Target coordinate system. The default is "Global".

Returns
str

Name of the created 3D component.

References

>>> oEditor.Insert3DComponent