0

Is there an easy accessible function to get manifest data in javascript to check if the model is done translating?

something like viewerApp.getManifest().progress. Where viewerApp is a ViewingApplication.

Is there something like this, or should I retrieve the data via server code and pass it on to javascript.

1 Answer 1

1

No, there is not an client side API as you mentioned to get the progress of model translation.

I am interested in the reason why doing that way. Actually, the ViewingApplication is a client side API and is used to view the model when the model is already translated, it's not suggested to request the translation progress by this API.

If you want to get the status of the translation progress, Yes, using the GET :urn/Manifest to get the progress.

Sign up to request clarification or add additional context in comments.

1 Comment

Ah okay! Well I wanted to show the progress of the model and was wondering if the manifest information was already received when the model gets loaded (or tries to load) in the viewer. I will then make the request from server side or javascript to get the manifest info. Thanks!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.