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
list
of
float
,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.cad.object_3dcircuit.CircuitComponent
Circuit Component Object when successful or
False
when failed.
Examples
>>> from ansys.aedt.core import Circuit >>> cir = Circuit()