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

TwinBuilderComponents.add_id_to_component(id)

Add an ID to a component.

TwinBuilderComponents.add_pin_iports(name, ...)

Add ports on pins.

TwinBuilderComponents.create_capacitor([...])

Create a capacitor.

TwinBuilderComponents.create_component([...])

Create a component from a library.

TwinBuilderComponents.create_component_from_sml(...)

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.

TwinBuilderComponents.create_inductor([...])

Create an inductor.

TwinBuilderComponents.create_interface_port(name)

Create an interface port.

TwinBuilderComponents.create_line(points[, ...])

Draw a graphical line.

TwinBuilderComponents.create_model_from_touchstone(...)

Create a model from a Touchstone file.

TwinBuilderComponents.create_npn([name, ...])

Create an NPN transistor.

TwinBuilderComponents.create_page_port(name)

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.

TwinBuilderComponents.create_resistor([...])

Create a resistor.

TwinBuilderComponents.create_symbol(name, pins)

Create a symbol.

TwinBuilderComponents.create_touchstone_component(...)

Create a component from a Touchstone model.

TwinBuilderComponents.create_unique_id()

Create an unique ID.

TwinBuilderComponents.create_voltage_source([...])

Create a voltage source (conservative electrical output).

TwinBuilderComponents.create_wire(points[, name])

Create a wire.

TwinBuilderComponents.disable_data_netlist(...)

Disable the Nexxim global net list.

TwinBuilderComponents.enable_global_netlist(...)

Enable Nexxim global net list.

TwinBuilderComponents.enable_use_instance_name([...])

Enable the use of the instance name.

TwinBuilderComponents.get_obj_id(assignment)

Retrieve the ID of an object.

TwinBuilderComponents.get_pin_location(...)

Retrieve the location of a pin.

TwinBuilderComponents.get_pins(assignment)

Retrieve one or more pins.

TwinBuilderComponents.get_wire_by_name(name)

Wire class by name.

TwinBuilderComponents.number_with_units(value)

Convert a number to a string with units.

TwinBuilderComponents.refresh_all_ids()

Refresh all IDs and return the number of components.

TwinBuilderComponents.update_quantity_value(...)

Change the quantity value of a component.

Attributes

TwinBuilderComponents.components_catalog

Return the syslib component catalog with all info.

TwinBuilderComponents.design_libray

Design Library.

TwinBuilderComponents.design_type

Design type.

TwinBuilderComponents.design_types

Design types.

TwinBuilderComponents.model_units

Model units.

TwinBuilderComponents.nets

List of all schematic nets.

TwinBuilderComponents.o_component_manager

Component manager object.

TwinBuilderComponents.o_definition_manager

Aedt oDefinitionManager.

TwinBuilderComponents.o_simmodel_manager

Simulation models manager object.

TwinBuilderComponents.o_symbol_manager

Model manager object.

TwinBuilderComponents.schematic_units

Schematic units.

TwinBuilderComponents.tab_name

Tab name.

TwinBuilderComponents.version

Version.

TwinBuilderComponents.wires

All schematic wires in the design.