In Rhino 8 select an object and run a command that does the following:
RhinoApp.RunScript($"-SelLayer \"{layer.FullPath}\"", false);
Rhino 8 outputs this if an object is already preselected:
Unknown command: “Layer Name”
In Rhino 7 it would select the objects on that layer.
The Rhino 8 command documentation says SelLayer skips picking a layer if an object is pre-selected.
But this prevents “-SelLayer” from selecting a layer when an object is pre-selected .
Is this a bug or in intended?