replace_3dcomponent#

Modeler3D.replace_3dcomponent(component_name=None, variables_to_include=None, object_list=None, boundaries_list=None, excitation_list=None, included_cs=None, reference_cs='Global')[source]#

Replace with 3D component.

Parameters:
component_namestr, optional

Name of the component. The default is None.

variables_to_includelist, optional

List of variables to include. The default is None.

object_listlist, optional

List of object names to export. The default is all object names.

boundaries_listlist, optional

List of Boundaries names to export. The default is all boundaries.

excitation_listlist, optional

List of Excitation names to export. The default is all excitations.

included_cslist, optional

List of Coordinate Systems to export. The default is all coordinate systems.

reference_csstr, optional

The Coordinate System reference. The default is "Global".

Returns:
pyaedt.modeler.components_3d.UserDefinedComponent

User-defined component object.

References

>>> oEditor.ReplaceWith3DComponent