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.
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.
Yes, I do the same.
I can check whether the obj is dirty and set the nbits again.