Thanks @guido and @tino for the reply.
The problem is when I initialize the viewer with a scs file which contains hidden elements only, the default camera is set as if it is an empty viewer (NavCube Top View), which is fine.
But when another model is loaded in the same viewer (‘arboldea.scs’) the default view stays the same (NavCube Top View)
This does not occur if I load the arboleda model first and then the file with the hidden elements. In that case the view is properly set.
I want to ensure that the default view stays the same regardless of the order in which the files are loaded by setting the parameters of the camera.
This post describes how to create the standard views, but I want to create the default view that the webviewer creates (or is exported along with the scs file)