What's the best way to keep track of things between method calls?
I.E. I'm isolating layers on one method call "IsolateNestedEntities". Then I want to revert the layer's on/off back to pre-isolation "UnIsolateNestedEntities"?
Currently I'm using a global variable, will this stay the same if the user changes active documents during the session or is a new instance started for each document?