create_current_dc#

NexximComponents.create_current_dc(compname=None, value=1, location=None, angle=0, use_instance_id_netlist=False)[source]#

Create a current DC source.

Parameters:
compnamestr, optional

Name of the current DC source. The default is None.

valuefloat, optional

Current value. The default is 1.

locationlist of float, optional

Position on the X axis and Y axis.

anglefloat, 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.

Returns:
pyaedt.modeler.cad.object3dcircuit.CircuitComponent

Circuit Component Object.

References

>>> oEditor.CreateComponent