Feature Request. Previous Visibility and Previous Locked State Button

Hi Again.

Well. this would speed a lot my work. hope it make sense.

While working.. I usually isolate many some things in the modelspace I am working.. and at some point maybe I need to isolate just one element.. I do it.. but “turning on” everything is not an option. and “turning on only some elements”.. is oook. but it requires selecting them again.. that may be time consuming. I know all the other options of using states.. named selections and all are great.. but for this very frequent situation. I would really find handful a “previous” visibility state…

As a temporary solution you can make additional custom macros for a secondary Isolate:


Isolate Selection 1
_-Invert _-Hide _Pause "TempIsolate 1" _Enter

Unisolate Selection 1
! _-Show "TempIsolate 1"


If you change the number 1 to 2, 3, 4 etc, you can make multiple Isolate icons. Make sure the Unisolate the objects in the same order you activated Isolate. For example, here I have 3 extra Isolate icons.

Thank you for your suggestion @Rhino_Bulgaria It actually works great! Just one question: how does “tempisolate” work in that button if there’s no command called “tempisolate”? I’m not used to working with macros, but I’d like to understand how it works.

(nonetheless I hope there will be an option for this in Rhino 9 )

The macro was created by someone else. I just shared it here.
Perhaps the “TempIsolate” command is one of those macro-only commands that are not part of the main commands accessible via the keyboard.

Hi @mutarq @Rhino_Bulgaria

It could be named anything tempisolate is just a name for the macro, the commands inside the macro are what is doing the work.

_-Invert — Selects the inverse of the selected object/s
_-Hide — Hides those objects
_Pause — Pauses the macro to allow rhino or the user to assign a name to the selection
“TempIsolate 1” — Is the hide name assigned to the objects notice the quotes denoting a text operation. The naming allows the objects to be unhid latter with -Show “TempIsolate 1”
_Enter — completes the command

Try using the macro editor and stringing together commands it’s good practice for automating tasks.

One thing I found in Rhino V7 don’t know if it’s in V8 is that this macro doesn’t allow for post pick. I found I have to have an object selected or else it hides everything showing since it invert selects. To get around that I created a vbscript that works both pre and post selection.

RM

Copy and paste to an icon all text below

-_RunScript (
Option Explicit
'Script written by RM
'Script version Tuesday, October 27, 2026 3:00:50 AM

Sub IsolateSelection1
Dim arrObjects, name

arrObjects = Rhino.GetObjects("Pick Objects",,, True, True)
name = "_-Invert _-Hide _Pause ""TempIsolate 1"" _Enter"

If IsArray(arrObjects) Then

	Rhino.command name

End If

End Sub
IsolateSelection1
)

thank you! @3dsynergy very clever!