MaxwellCircuitComponents#

class ansys.aedt.core.modeler.circuits.primitives_maxwell_circuit.MaxwellCircuitComponents(modeler)[source]#

MaxwellCircuitComponents class.

This class is for managing all circuit components for MaxwellCircuit.

Examples

Basic usage demonstrated with a MaxwellCircuit design:

>>> from ansys.aedt.core import MaxwellCircuit
>>> aedtapp = MaxwellCircuit()
>>> prim = aedtapp.modeler.schematic

Methods

MaxwellCircuitComponents.add_id_to_component(id)

Add an ID to a component.

MaxwellCircuitComponents.add_pin_iports(...)

Add ports on pins.

MaxwellCircuitComponents.create_capacitor([...])

Create a capacitor.

MaxwellCircuitComponents.create_component([...])

Create a component from a library.

MaxwellCircuitComponents.create_diode([...])

Create a diode.

MaxwellCircuitComponents.create_gnd([...])

Create a ground.

MaxwellCircuitComponents.create_inductor([...])

Create an inductor.

MaxwellCircuitComponents.create_interface_port(name)

Create an interface port.

MaxwellCircuitComponents.create_line(points)

Draw a graphical line.

MaxwellCircuitComponents.create_model_from_touchstone(...)

Create a model from a Touchstone file.

MaxwellCircuitComponents.create_page_port(name)

Create a page port.

MaxwellCircuitComponents.create_resistor([...])

Create a resistor.

MaxwellCircuitComponents.create_symbol(name, ...)

Create a symbol.

MaxwellCircuitComponents.create_touchstone_component(...)

Create a component from a Touchstone model.

MaxwellCircuitComponents.create_unique_id()

Create an unique ID.

MaxwellCircuitComponents.create_winding([...])

Create a winding linked to a Maxwell design.

MaxwellCircuitComponents.create_wire(points)

Create a wire.

MaxwellCircuitComponents.disable_data_netlist(...)

Disable the Nexxim global net list.

MaxwellCircuitComponents.enable_global_netlist(...)

Enable Nexxim global net list.

MaxwellCircuitComponents.enable_use_instance_name([...])

Enable the use of the instance name.

MaxwellCircuitComponents.get_obj_id(assignment)

Retrieve the ID of an object.

MaxwellCircuitComponents.get_pin_location(...)

Retrieve the location of a pin.

MaxwellCircuitComponents.get_pins(assignment)

Retrieve one or more pins.

MaxwellCircuitComponents.get_wire_by_name(name)

Wire class by name.

MaxwellCircuitComponents.number_with_units(value)

Convert a number to a string with units.

MaxwellCircuitComponents.refresh_all_ids()

Refresh all IDs and return the number of components.

Attributes