create_3dcomponent#
- AxialMode.create_3dcomponent(component_file=None, component_name=None, replace=False)#
Create a 3D component of the antenna.
- Parameters:
- Returns:
str
Path of the 3D component file or
ansys.aedt.core.modeler.components_3d.UserDefinedComponent
.
Examples
>>> from ansys.aedt.core import Hfss >>> from ansys.aedt.toolkits.antenna.backend.antenna_models.horn import Conical >>> hfss = Hfss() >>> horn = hfss.add_from_toolkit(Conical, draw=True) >>> horn = horn.create_3dcomponent()