.hidden property and groups (scripting)

 From:  pressure (PEER)
11120.1 
Hi Michael,

I'm having some problems with changing the .hidden property when groups are involved. For example, setting hidden = false on a sub-object isn't enough to make that sub-object visible: all of its parent objects must also have hidden = false set. It seems like setting hidden on a parent object recursively sets hidden to the same value on all of that parent's children, but that the same sort of thing doesn't happen when setting a child.

What's a nice way to show a child object when some of its parents are hidden? In particular, if I'm hiding some objects and also showing others, how do I make sure that what I want to show stays non-hidden that that what I want to hide stays hidden without any interaction between these operations?

- Peer