[Note - I'm going to ask that this thread be moved to the Acrobat forums]
if you mean that you want to begin with all layers off, then use the layers list to turn them on (a one-time effort), then you could likely do that in the authoring program prior to exporting to PDF.
I can activate/deactivate all the layers at once by clicking the parent layer:
But what I was wanting to do was to turn each individual layer off or on starting with a default of all off. It looks like the authoring program (AECOsim Building Designer) does not have this option as if I turn off the levels before I print, they do not appear at all in the pdf and there seems to be no configuration setting to alter this.
I was hoping that there was a way of selecting multiple layers and then turning them off at the child layer level....
This can be achieved in Acrobat using a script, which can be attached to a menu button for quick access, or you could run it directly from the JS Console window.
Take a look at the "state" property of the OCG object. The documentation is here:
The documentation comes with an example of how to turn all layers on, you want to do the reverse, so just change the line that sets "ocgArray[i].state" and set it to "false".