Skip to content

gi-nx


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

ParameterTypeDescription
layerNameOrId?stringThe layer name or full layer ID (e.g., "1:draw:layerName")

Returns

void