I’m currently working with Navisworks .nwd files and using them to generate:
.scz files for SSR (Server Side Rendering)
.scs files for CSR (Cilent Side Rendering)
Right now, my workflow involves loading the entire model and then selectively hiding/showing parts of it. However, this approach is not optimal in terms of performance, especially for large assemblies.
Question:
Is there any way to load only a specific part of the model directly—without loading the whole model first and hiding the rest?
For example, if I know the node ID or path of the component I want, can I load just that component directly into SSR or CSR using SCZ or SCS?
Any guidance or tips on how to achieve this would be greatly appreciated.
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
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.
Generating PNGs file will increase the conversion time, as will including other output files. Our recommendation here is to first generate the SCS in one conversion operation and the PNG (and other output files) in another. This won’t reduce overall processing time but being more judicious can still yield benefits.