LayerStateManager restore can it be undone?

Hi,
V5
did a LayerStatemanager, save
then moved objects, then did a load of extra work,
then realised all layers still on, so restore to the LSM save, and my work since then vanished,
because of new layers made which it went and removed !

I wanted it to remember what was turned on and off, not attack anything new since then.

tried to undo that restore, and cannot see it in undo list.
have lost an hours hard graft.

Can a LSM restore be undone ?

Steve

Hi @Steve1,

The layer state manager only save and restores layer states (e.g. properties). It has never removed layers or objects. And yes, it is undoable.

ED: I cannot speak for V5 - I don’t have code that far back.

– Dale

V5. The Layer State Restore doesn’t show in the undo list. Rather, Rhino shows Layer - change visibility commands for every layer actually affected by the state change.

p.s. In normal use, the Layer State Restore does nothing with layers that have been added after the Layer State Save was run. Unless you have an enormous number of layers and that causes it to blip?