create_external_circuit#
- Maxwell2d.create_external_circuit(circuit_design=None)[source]#
Create the external circuit including all the windings of type
External
in the Maxwell design.- Parameters:
- circuit_design
str
,optional
Name of the created circuit design. If not provided the design name +
_ckt
is used.
- circuit_design
- Returns:
ansys.aedt.core.maxwellcircuit.MaxwellCircuit
MaxwellCircuit object if successful,
False
otherwise.
Examples
>>> from ansys.aedt.core import Maxwell2d >>> m2d = Maxwell2d() >>> m2d.modeler.create_circle([0, 0, 0], 10, name="Coil1") >>> m2d.assign_coil(assignment=["Coil1"]) >>> m2d.assign_winding(assignment=["Coil1"], winding_type="External", name="Winding1") >>> cir = m2d.create_external_circuit() >>> m2d.release_desktop(True, True)