insert_3d_component#

Modeler3D.insert_3d_component(input_file, geometry_parameters=None, material_parameters='', design_parameters='', coordinate_system='Global', name=None, password=None, auxiliary_parameters=False)[source]#

Insert a new 3D component.

Parameters:
input_filestr

Name of the component file.

geometry_parametersdict, optional

Geometrical parameters.

material_parametersstr, optional

Material parameters. The default is "".

design_parametersstr, optional

Design parameters. The default is "".

coordinate_systemstr, optional

Target coordinate system. The default is "Global".

namestr, optional

3D component name. The default is None.

passwordstr, optional

Password for encrypted components. The default value is None.

auxiliary_parametersbool or str, optional

Enable the advanced 3d component import. It is possible to set explicitly the json file. The default is False.

Returns:
ansys.aedt.core.modeler.components_3d.UserDefinedComponent

User defined component object.

References

>>> oEditor.Insert3DComponent