replace_3dcomponent#
- Modeler3D.replace_3dcomponent(name=None, variables_to_include=None, assignment=None, boundaries=None, excitations=None, coordinate_systems=None, reference_coordinate_system='Global')#
Replace with 3D component.
- Parameters:
- name
str
,optional
Name of the component. The default is
None
.- variables_to_include
list
,optional
List of variables to include. The default is
None
.- assignment
list
,optional
List of object names to export. The default is all object names.
- boundaries
list
,optional
List of Boundaries names to export. The default is all boundaries.
- excitations
list
,optional
List of Excitation names to export. The default is all excitations.
- coordinate_systems
list
,optional
List of coordinate systems to export. The default is all coordinate systems.
- reference_coordinate_system
str
,optional
The coordinate system reference. The default is
"Global"
.
- name
- Returns:
ansys.aedt.core.modeler.components_3d.UserDefinedComponent
User-defined component object.
References
>>> oEditor.ReplaceWith3DComponent