create_subcircuit#
- NexximComponents.create_subcircuit(location=None, angle=None, name=None, nested_subcircuit_id=None)#
Add a new Circuit subcircuit to the design.
- Parameters:
- location
listoffloat,optional Position on the X axis and Y axis.
- angle
float,optional Angle rotation in degrees. The default is
None.- name
str,optional Name of the design. The default is
None, in which case a unique name is generated.- nested_subcircuit_id
str,optional ID of the nested subcircuit. Example “U1”.
- location
- Returns:
ansys.aedt.core.modeler.circuits.object_3d_circuit.CircuitComponentCircuit Component Object when successful or
Falsewhen failed.
Examples
>>> from ansys.aedt.core import Circuit >>> cir = Circuit()