TwinBuilderComponents#
- class ansys.aedt.core.modeler.circuits.primitives_twin_builder.TwinBuilderComponents(modeler)#
TwinBuilderComponents class.
This class is for managing all circuit components for Twin Builder.
- Parameters:
- parent
- modeler
Examples
Basic usage demonstrated with a Twin Builder design:
>>> from ansys.aedt.core import Twin Builder >>> aedtapp = TwinBuilder() >>> prim = aedtapp.modeler.schematic
Methods
Add an ID to a component.
TwinBuilderComponents.add_pin_iports
(name, ...)Add ports on pins.
Create a capacitor.
Create a component from a library.
Create and place a new component based on a .sml file.
TwinBuilderComponents.create_diode
([name, ...])Create a diode.
TwinBuilderComponents.create_gnd
([location, ...])Create a ground.
Create an inductor.
Create an interface port.
TwinBuilderComponents.create_line
(points[, ...])Draw a graphical line.
Create a model from a Touchstone file.
TwinBuilderComponents.create_npn
([name, ...])Create an NPN transistor.
Create a page port.
TwinBuilderComponents.create_periodic_waveform_source
([...])Create a periodic waveform source (non conservative real output).
TwinBuilderComponents.create_pnp
([name, ...])Create a PNP transistor.
Create a resistor.
TwinBuilderComponents.create_symbol
(name, pins)Create a symbol.
Create a component from a Touchstone model.
Create an unique ID.
Create a voltage source (conservative electrical output).
TwinBuilderComponents.create_wire
(points[, name])Create a wire.
Disable the Nexxim global net list.
Enable Nexxim global net list.
Enable the use of the instance name.
TwinBuilderComponents.get_obj_id
(assignment)Retrieve the ID of an object.
Retrieve the location of a pin.
TwinBuilderComponents.get_pins
(assignment)Retrieve one or more pins.
Wire class by name.
Convert a number to a string with units.
Refresh all IDs and return the number of components.
Change the quantity value of a component.
Attributes
Return the syslib component catalog with all info.
Design Library.
Design type.
Model units.
List of all schematic nets.
Component manager object.
Aedt oDefinitionManager.
Simulation models manager object.
Model manager object.
Schematic units.
Tab name.
Version.
All schematic wires in the design.