Also re:
> When setting the hidden property to FALSE I found that I had to do the same
> for all sub-objects for the object to be displayed.
Shouldn't normally be needed to do that unless you've set hidden = true on all the sub objects yourself.
For example, start with a blank scene, draw a box, and hide it (using regular UI).
If you then run this script it should show the box, by only setting .hidden = false on the top level box object only:
var box = moi.geometryDatabase.getObjects().item(0); box.hidden = false;
- Michael
|