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

modeler_pcb.Modeler3DLayout

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.

object_3d_layout.Components3DLayout

Contains components in HFSS 3D Layout.

object_3d_layout.Nets3DLayout

Contains Nets in HFSS 3D Layout.

object_3d_layout.Pins3DLayout

Contains the pins in HFSS 3D Layout.

object_3d_layout.Line3dLayout

Manages Hfss 3D Layout lines.

object_3d_layout.Polygons3DLayout

Manages Hfss 3D Layout polygons.

object_3d_layout.Circle3dLayout

Manages Hfss 3D Layout circles.

object_3d_layout.Rect3dLayout

Manages Hfss 3D Layout rectangles.

object_3d_layout.Points3dLayout

Manages HFSS 3D Layout points.

object_3d_layout.Padstack

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

...