create_diode#
- NexximComponents.create_diode(name: str | None = None, model_name: str = 'required', location=None, angle: int = 0, use_instance_id_netlist: bool = False, page: int = 1)#
Create a diode.
- Parameters:
- name
str Name of the diode. The default is
None.- model_name
str,optional Name of the model. The default is
"required".- location
listoffloat,optional Position on the X axis and Y axis.
- 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.- page: int, optional
Schematic page number. The default value is
1.
- name
- Returns:
ansys.aedt.core.modeler.circuits.object_3d_circuit.CircuitComponentCircuit Component Object.
References
>>> oEditor.CreateComponent