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 pyaedt import TwinBuilder
app = TwinBuilder(specified_version="2022.2",
           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.

Objects in Circuit tools#

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

object3dcircuit.CircuitComponent

Manages circuit components.

object3dcircuit.CircuitPins

Manages circuit component pins.

from pyaedt import Circuit
app = Circuit(specified_version="2022.2",
           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


...