Modeler and components Circuit#

This section lists the core AEDT Modeler modules:

  • Modeler

  • Primitives

  • Objects

They are accessible through the modeler module and modeler.objects property:

from ansys.aedt.core import TwinBuilder
app = TwinBuilder(specified_version="2023.1",
           non_graphical=False, new_desktop_session=True,
           close_on_exit=True, student_version=False)

# This call returns the Modeler class
modeler = app.modeler

...

Modeler#

The Modeler module contains all properties and methods needed to edit a modeler, including all primitives methods and properties:

  • ModelerNexxim for Circuit

  • ModelerTwinBuilder for Twin Builder

  • ModelerEmit for EMIT

schematic.ModelerNexxim

ModelerNexxim class.

schematic.ModelerTwinBuilder

ModelerTwinBuilder class.

schematic.ModelerEmit

ModelerEmit class.

schematic.ModelerMaxwellCircuit

ModelerMaxwellCircuit class.

Schematic in Circuit#

The following classes define the object properties for Circuit components. They contain all getters and setters to simplify object manipulation.

NexximComponents

Manages circuit components for Nexxim.

from ansys.aedt.core import Circuit
app = Circuit(specified_version="2023.1",
           non_graphical=False, new_desktop_session=True,
           close_on_exit=True, student_version=False)

# This call returns a Schematic object
schematic = modeler.schematic

# This call returns an Object3d object
my_res = schematic.create_resistor("R1", 50)

Objects in Circuit#

The following classes define the object properties for Circuit. They contain all getters and setters to simplify object manipulation.

object_3d_circuit.CircuitComponent

Manages circuit components.

object_3d_circuit.CircuitPins

Manages circuit component pins.

object_3d_circuit.Wire

Creates and manipulates a wire.

from ansys.aedt.core import Circuit
app = Circuit(specified_version="2023.1",
           non_graphical=False, new_desktop_session=True,
           close_on_exit=True, student_version=False)

# This call returns the Modeler class
modeler = app.modeler

# This call returns a Schematic object
schematic = modeler.schematic

# This call returns an Object3d object
my_res = schematic.create_resistor("R1", 50)

# Getter and setter
my_res.location
my_res.parameters["R"]=100

...

Schematic in EMIT#

The following classes define the object properties for EMIT components. They contain all getters and setters to simplify object manipulation.

EmitComponents

EmitComponents class.

Schematic in Twin Builder#

The following classes define the object properties for Twin Builder components. They contain all getters and setters to simplify object manipulation.

TwinBuilderComponents

TwinBuilderComponents class.

from ansys.aedt.core import TwinBuilder
app = TwinBuilder(specified_version="2023.1",
           non_graphical=False, new_desktop_session=True,
           close_on_exit=True, student_version=False)

# This call returns the Modeler class
modeler = app.modeler

# This call returns a Schematic object
schematic = modeler.schematic

# This call returns an Object3d object
my_res = schematic.create_resistor("R1", 50)

# Getter and setter
my_res.location
my_res.parameters["R"]=100

...

Schematic in Maxwell Circuit#

The following classes define the object properties for Maxwell Circuit components. They contain all getters and setters to simplify object manipulation.

MaxwellCircuitComponents

MaxwellCircuitComponents class.