ScrDrawResistor
| Draws a resistor in the specified location with specified parameters. | |
| UI Command: | Home > Circuit Elements > Add Resistor. |
| Syntax: | obj.ScrDrawResistor(<resName>, <partName>, <px>, <py>, <nx>, <ny>, <posLayerName>, <negLayerName>, <resVal>)
|
| Parameters: |
BSTR resName 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 resVal (resistance, in Ohms) |
| Return Value: |
BOOL:
|
| VB Example: |
obj.ScrDrawResistor("Resist","BBQ_4L1FE",8500,4500,6000,1000,"SURFACE","BASE",50) |
| IPY Example: |
|