SelNone not working on Macro

I do created the following macro where I do want to isolate objects based on their Key/Value properties. In this example just replace Key and Value with whatever value you want.

The issue it is that by default it is Isolating and SELECTING all the objects that to match the Key/Value criteria and I do want to deselect the isolated objects resulted from the run of this macro but unfortunately seems that as soon as I am introducing the SelNone command into this macro I receive an error message like this: Unknown command: $$Isolate$$. If I do remove the SelNone from the macro it is works but I do have the objects selected.

How I can unselect all the isolated objects using this macro?

!_SelKeyValue
Key
Value
Isolate
SelNone

P.S. I do tried a lot of variants but couldn’t find a working solution.

Hi -

We have this issue with Isolate in macros on the list as RH-46090 Macros and Isolate

For the time being, you can replace Isolate with the Invert and Hide commands in that macro.
-wim