Hi,
I want delete a range of layers via code. But not one by one with a loop, this is way to slow.
When we manually select a range of layer in rhino, and the press on the red cross button it deletes very fastly all the selected layers. But how to have the same efficiency in a script ?
- I don’t find a method in the API that takes a list of layer. Something like this : LayerTable.Purge(IEnumerable layerIndices)
- I don’t find a command to launch in rhinoScript. There is the “-Layer Delete” but it sends to an interface to select the layers, and i don’t know ho to address it.
Any idea ?
1 post - 1 participant