SOLVED Which message does the tag receive when Viewport Solo is activated/selected?

I have a tag plugin that hides objects in the viewport and in the hierarchy.
Except when the user clicks Viewport Solo, the objects are displayed again.

To control this, I like to know what message the tag plugin receives, when the user selects Viewport Solo.

c6f84a47-8b1a-41b0-9f4e-6c94e71999a0-image.png

hello @pim

I'm afraid there's no message. The command "simply" use ChangeNBit and SetDirty

the bit changed is NBIT::EHIDE maybe you can check this bit and react to it.

Cheers
Manuel.

Yes, I do the same.
I can check whether the obj is dirty and set the nbits again.

Thank you.