Skip to content

gi-nx


gi-nx / removeLayerFromProject

ts
function removeLayerFromProject(layerId: string | number): void;

Removes a layer from the project

Parameters ​

ParameterTypeDescription
layerIdstring | numberThe layer ID to remove. NB this is different to the projectLayer ID. see deleteProjectLayer

Returns ​

void