I used HOOPS communicator version 2024.5.0 to render the model, but the page was blank and the browser did not report any errors. Here are the objects returned by new WebViewer.
What could be the reason for the blank page?
I used HOOPS communicator version 2024.5.0 to render the model, but the page was blank and the browser did not report any errors. Here are the objects returned by new WebViewer.
What could be the reason for the blank page?
Hello @619944680,
In your screenshot, the parameter _modelLoadFailure
is set to true
. We can use the callback modelLoadFailure to get more information in that regard. Below is an example of how to do this:
hwv.setCallbacks({
modelLoadFailure: function(model, reason, error) {
console.log("model: " + model);
console.log("reason: " + reason);
console.log("error: " + error);
}
});
You will need to set this callback before the model is fully loaded in the Web Viewer, for example, right after your code that initializes the WebViewer
object.
Thanks,
Tino