gi-nx / activateDrawingLayer
ts
function activateDrawingLayer(layerNameOrId?: string): void;The active drawing layer is the layer that any new geometry will be added to. If layerNameOrId is not passed, Giraffe will select the default drawing layer (same as when opening the project).
Parameters
| Parameter | Type | Description |
|---|---|---|
layerNameOrId? | string | The layer name or full layer ID (e.g., "1:draw:layerName") |
Returns
void