insert_3d_component#

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

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".

namestr, optional

3D component name. The default is None.

Returns:
pyaedt.modeler.Object3d.UserDefinedComponent

User defined component object.

References

>>> oEditor.Insert3DComponent