create_npn#
- TwinBuilderComponents.create_npn(name=None, location=None, angle=0, use_instance_id_netlist=False)[source]#
Create an NPN transistor.
- Parameters:
- name
str
,optional
Name of the NPN transistor. The default value is
None
.- location
list
of
float
,optional
Position on the X axis and Y axis. The default value 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.cad.object_3dcircuit.CircuitComponent
Circuit Component Object.
References
>>> oEditor.CreateComponent