>>If you want something that does not do different things depending on the selection and just only strictly unhides things, put in this instead:
script: /* Unhide all */ var objs = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); obj.hidden = false; obj.getSubObjects().setProperty( 'hidden', false ); }
Perfect! Sometimes I want to unhide everything without losing my selection and this will work perfectly.
It would be fantastic if we could have a thread or a spot on your webpage for all of these wonderful little snippets.
Thanks,
-Shane
|