I use files of commands like this
create some layers
make some objects
After they run, the layers exist but aren’t shown in the layer manager until F5 is pressed to refresh it. I’d like to add a command to do that into the file. Is there any command that either causes a refresh of the layer manager, or simulates pressing F5?
(Alternatively, could we get the buglet fixed? Setredrawon should refresh the layer manager if layer states were changed.)
As far as I can tell, no command available through -layer causes a refresh. Changing the order of layers does do it, but as far as I know there’s no command-line way to do that.
(Please either answer the question or don’t answer it, rather than advise me to move the layer-creating commands outside the setredrawon/off block. I actually did already think of that. In the particular case I have in front of me it’s very difficult, for reasons which you would find very boring if I described them. Thanks.)