Permanently removes a layer from a composition. Use this when you need to completely eliminate elements from your template based on your data.
Example
{
"type": "function",
"name": "nx:layer-remove",
"params": {
"composition": "Main Comp",
"layerIndex": "3"
}
}
Parameters
Name/ID of the composition containing the layer
Index of the layer to remove