Merci, Didier.
However, please try these files (change the .lmi.txt extension to .lmi).
Layers 0, Blue, and Green have been setup via SU's Layer dialog. The Blue and Green geometry were moved to their respective SU layers; all others objects are assigned to Layer 0. Blue and Green configs were then defined via your Layer Manager Script. The Blue config only displays layer Blue. The Green config only displays layer Green.
Issue A.
See what happens when you apply green or blue configs when all layers are visible, then alternate between the existing configs. Restore a config ONCE and it will APPEND that restoration to the existing display. Next Restore the SAME config AGAIN and it will display the restoration correctly.
I believe the samething happens when following the same routine using Restore-Show-Only.
======
Issue B.
Now, via the SU's Layers Dialog add a new layer called Gold, select the gold geometry and move it to layer Gold. Make layer Gold the active layer and make all other layers invisible. Create a new config with the Layer Manager script called Gold.
Repeat he routines mentioned in "Issue A" and also include Restoring Gold and Restore-Show-Only Gold.
=======
Issue C.
It is possible to display a blank line in the dialogs (such as the Delete or Restore dialogs).
Regards, John
TEST1.lmi.txt
TEST1.skp