_Isolate Bug

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

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

_Group Pause Enter

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

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)
    for id in ids:
if __name__ == '__main__': IsolateUngroup()