create_inductor#
- TwinBuilderComponents.create_inductor(name: str = None, value: float = 50.0, location: list[float] = None, angle: float = 0.0, use_instance_id_netlist: bool = False) CircuitComponent#
Create an inductor.
- Parameters:
- name
str,optional Name of the inductor. The default is
None.- value
float,optional Value for the inductor. The default is
50.- location
listoffloat,optional Position on the X axis and Y axis. The default is
None.- angle
float,optional Angle rotation in degrees. The default is
0.- use_instance_id_netlistbool,
optional Whether to use the instance ID in the net list. The default is
False.
- name
- Returns:
ansys.aedt.core.modeler.circuits.object_3d_circuit.CircuitComponentCircuit Component Object.
References
>>> oEditor.CreateComponent