Modeler in HFSS 3D Layout#
This section lists the core AEDT Modeler modules available in HFSS 3D Layout:
Modeler
Primitives
Objects
They are accessible through the modeler
module and modeler.objects
property:
from ansys.aedt.core import Hfss3dLayout
hfss = Hfss3dLayout()
my_modeler = hfss.modeler
...
Modeler#
The Modeler
module contains all properties and methods needed to edit a
modeler, including all primitives methods and properties:
Modeler3DLayout
for HFSS 3D Layout
Manages Modeler 3D layouts. |
Objects in HFSS 3D Layout#
The following classes define the object properties for HFSS 3D Layout. They contain all getters and setters to simplify object manipulation.
Contains components in HFSS 3D Layout. |
|
Contains Nets in HFSS 3D Layout. |
|
Contains the pins in HFSS 3D Layout. |
|
Manages Hfss 3D Layout lines. |
|
Manages Hfss 3D Layout polygons. |
|
Manages Hfss 3D Layout circles. |
|
Manages Hfss 3D Layout rectangles. |
|
Manages HFSS 3D Layout points. |
|
Manages properties of a padstack. |
from ansys.aedt.core import Hfss3dLayout
app = Hfss3dLayout(specified_version="2023.1",
non_graphical=False, new_desktop_session=True,
close_on_exit=True, student_version=False)
# This call returns the Modeler3DLayout class
modeler = app.modeler
# This call returns a Primitives3D object
primitives = modeler
# This call returns an Object3d object
my_rect = primitives.create_rectangle([0,0,0],[10,10])
# Getter and setter
my_rect.material_name
...