ScrSetLayerThickness
|
Changes the thickness of a specified layer. The thickness value must be in the project's underlying length units. |
|
| UI Command: | Home > Layer stackup Editor. Click Edit Layer Properties. Enter the thickness in the Thickness field. |
| Syntax: | obj.ScrSetLayerThickness(<layerNameBstr>, <thickness>, <redraw>) |
| Parameters: |
BSTR layerNameBstr DOUBLE thickness BOOL redraw (TRUE = redraw; FALSE = do not redraw) |
| Return Value: |
BOOL
|
| VB Example: |
' set the thickness of layer "SURFACE" to 35um (assuming the database units are mm) ' outcome is TRUE on success, FALSE if specified layer could not be located outcome = obj.ScrSetLayerThickness( "SURFACE", 0.035, True ) |
| IPY Example: |
oDoc.ScrSetLayerThickness('SURFACE', 0.035, True) |