FAQ: How can I tell if the model is fully loaded so that I can avoid "ReferenceError: member called after shutdown" in the Web Viewer?

As part of the Web Viewer class, there is a function called waitForIdle():

https://docs.techsoft3d.com/communicator/latest/api_ref/viewing/classes/Communicator.WebViewer.html?#waitforidle

One possible solution is to call shutdown() in the returned Promise of waitForIdle() .