_Isolate Bug

_Isolate is doing something weird where it can’t be used in a macro.

;LMB
_Zoom _All _Selected
_Isolate Pause 
;_RemoveFromGroup _SelAll Enter  ;"what I want"
;! _RemoveFromGroup _SelAll Enter  ;"! error"
;_SelAll  ;"head scratcher"
;! _SelAll  ;"! error"

;RMB
_SelAll
_Group Pause Enter
_Unisolate

I’d like the left mouse button to zoom in on a selection, _Isolate it, and remove any groupings (_RemoveFromGroup _SelAll Enter). Then the right would package it into a group and _Unisolate.

Yeah, that does seem broken. I’ll see if I can sort it out.

This might help for now,

! _RemoveFromGroup
Pause
SelLast
ZSA
Isolate

RH-62716 Isolate: fails in a macro

here is a python that you can use as well- I think it does what you are shooting for:

import rhinoscriptsyntax as rs

def IsolateUngroup():
    
    ids = rs.GetObjects(preselect=True)
    if not ids: return
    rs.Command('_Zoom _All _Selected', False)
    rs.Command('_Isolate',False)
    
    for id in ids:
        rs.RemoveObjectFromAllGroups(id)
        
if __name__ == '__main__': IsolateUngroup()

-Pascal