"layerVisible"

Sets the visibility of a panel layer.

Synopsis

getValue(string panel, "layerVisible", int layerNr, bool visible);

setValue(string panel, "layerVisible", int layerNr, bool visible);

panel.layerVisible(int layerNr, bool visible);

Parameters

Parameter Description
panel Panelname
layerNr Number of the panel layer (Index range: 1 to 8)
visible Layer visibility

Description

The function sets the specified panel layer visible(true) or invisible(false). The layer index starts with 1 and includes all 8 available layers.

Assignment

Panel