tpaToggleLayer
tpaToggleLayer(
t_layerName
g_visible
)
=> t / nil
Description
Sets the visibility for the active pattern of the enabled WSSPDef or SPDef on the given snapping layer.
Arguments
|
Boolean variable that sets the visibility for the active pattern of the enabled WSSPDef or SPDef on the given snapping layer. |
Value Returned
|
The visibility for the active pattern of the enabled WSSPDef or SPDef on the given snapping layer is set, as requested. |
|
Example
Turns off the Metal2 layer visibility in the Track Pattern table. This also turns off the active pattern visibility for the enabled WSSPDefs or SPDef on the layer.
tpaToggleLayer( "Metal2" nil)
Return to top