Reputation: 1268
Using the Inventor Design Automation API I would like to change several parameters in my model and display these changes in the Forge Viewer (web).
What would be the best solution to achieve this? I was think of saving the to changed model as a new file, upload this file and use the Model Derivative API to generate a SVF. Then somehow get the new URN back to the client and load it in the viewer.
But I feel like there must be a simpler way, plus I'm not too sure about the performance of this solution.
Any suggestions?
Upvotes: 0
Views: 367
Reputation: 27
i want to embed such a viewer on my website, i want to know, 1-do you upload files on you own host? or on Autodesk cloud? 2-can i get parts details such as dimension and material from viewer to calculate price dynamically using BOM? or i have to create a price database depending on variations? 3-@ Johannes Heesterman, what is the work-flow that you currently using on your website? 4- is this possible to change the texture or color of some parts in this viewer?
Upvotes: 0
Reputation: 9942
The Design Automation APIs are meant to execute self-contained, potentially long-running tasks, or "background jobs".
If you're interested in real-time (or semi-real-time) preview of changes to a parametric model, these APIs are not the best choice I'm afraid. Like you said, in that case you'd need to submit a set (or multiple sets) of parameters, generate one or more output files, run them through the Model Derivative APIs, and wait for the translated outputs using Webhooks APIs.
Upvotes: 2