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 CircuitModelerTwinBuilder
for Twin BuilderModelerEmit
for EMIT
ModelerNexxim class. |
|
ModelerTwinBuilder class. |
|
ModelerEmit class. |
|
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.
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.
Manages circuit components. |
|
Manages circuit component pins. |
|
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 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 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 class. |