ScrDrawInductor

Draws an inductor in the specified location with specified parameters.
UI Command:   Home > Circuit Elements > Add Inductor.
Syntax:   obj.ScrDrawInductor(<indName>, <partName>, <px>, <py>, <nx>, <ny>, <posLayerName>, <negLayerName>, <indVal>)
Parameters:  

BSTR indName

BSTR partName

DOUBLE px (positive terminal x location)

DOUBLE py (positive terminal y location)

DOUBLE nx (negative terminal x location)

DOUBLE ny (negative terminal y location)

BSTR posLayerName

BSTR negLayerName

DOUBLE indVal (inductance, in Henries)

Return Value:  

BOOL:

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrDrawInductor("Indy","RLC_XYZ_I",8500,4500,6000,1000,"SURFACE","BASE",1E-09)

IPY Example:  

oDoc.ScrDrawInductor('Indy','RLC_XYZ_I',8500,4500,6000,1000,'SURFACE','BASE',1E-09)