I am trying to write an application where I am using iframe based 3d model loading. After that I want to create custom annotations. On click of the model, I am capturing the positions and executing create annotation. If I execute create annotation method from within the model click event then it worked fine. But if I want to do the following:
- Capture info.3dposition on click of model
- Pass these positions to a form outside of the iframe
- On submit of that form (which will have name parameter), I am trying to execute createannotation.
- I have written the form handler within api.start callback. It gets all form parameters but does not create annotation rather reloads the model.
It is an important part of an assignment that I have taken up and am kind of stuck. I will really be thankful for help!