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)#
Insert a new 3D component.
- Parameters:
- input_file
strorpathlib.Path Name of the component file.
- geometry_parameters
dict,optional Geometrical parameters.
- material_parameters
str,optional Material parameters. The default is
"".- design_parameters
str,optional Design parameters. The default is
"".- coordinate_system
str,optional Target coordinate system. The default is
"Global".- name
str,optional 3D component name. The default is
None.- password
str,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.
- input_file
- Returns:
ansys.aedt.core.modeler.components_3d.UserDefinedComponentUser defined component object.
References
>>> oEditor.Insert3DComponent