ScrSetPadOnLayer
|
Changes an existing pad's shape or dimension; deletes an existing pad (by passing a shape of "None"); or adds a pad to the specified layer. |
|
| UI Command: | Home > Edit Padstacks. |
| Syntax: | obj.ScrSetPadOnLayer(<padstackName>, <layerName>, <shape>, <width>, <height>) |
| Parameters: |
BSTR padstackName BSTR layerName BSTR shape ("None", "Circle", "Oblong", or "Rectangle") BSTR width (including unit of measure) BSTR height (including unit of measure) |
| Return Value: |
BOOL
|
| VB Example: |
obj.ScrSetPadOnLayer("VIA_M1_M2", "METAL-1", "Circle", "0.6mm", "0.6mm") |
| IPY Example: |
oDoc.ScrSetPadOnLayer('VIA_M1_M2', 'METAL-1', 'Circle', '0.6mm', '0.6mm') |