Hello @shubham.suryawanshi,
You have a couple of options in terms of having more control on what is loaded in the viewer.
The server allows for different streaming modes. Most relevant to your situation is OnDemand
. There is an example available as part of the quickstart module. To view this example, please do the following:
- Launch the server by double-clicking HOOPS_Communicator_2025.X.0\quick_start\start_server.bat
- View the example in the Web Viewer by clicking this URL:
http://localhost:11180/streaming_modes.html?viewer=csr
Worth noting is that while it is possible to request to load specific nodes, there is no option to unload them. So this means that controlling visibility may still me needed.
Another option — if the model is comprised of different standalone Stream Cache sub-assembly files — is to leverage the different variants of loadSubtreeFrom* function. That is, you can load specific Stream Cache files instead of the entire master assembly.
Thanks,
Tino