ScrSetStackupLayerThickness

Sets the thickness of a specified layer.

UI Command:   Home > Layer Stackup Editor. Edit a layer's Thickness value.
Syntax:   obj.ScrSetStackupLayerThickness(<layerName>, <thickness>, <redraw>)
Parameters:  

BSTR layerName

BSTR thickness (including unit)

BOOL redraw (TRUE/1 = redraw; FALSE/0 = do not redraw)

Return Value:  

BOOL:

  • 0 – Failure
  • 1 – Success
VB Example:  

obj.ScrSetStackupLayerThickness("LAYER-1", "0.79mils", True)

IPY Example:  

oDoc.ScrSetStackupLayerThickness('LAYER-1', '0.79mils', 1)