Prevent the same drawing file from being converted to svf file again when calling Forge Viewer


Shiva Kumar

We have integrated AutoDesk Forge Viewer. We are sending a transform request to the Forge API (using the Model Derived API). After closing the viewer, if we need to display the same file again, currently we are publishing the dwg file again for conversion to view it.

Instead, is there a way to save the svf file in my local system so that I don't need to call the Forge web service twice for the same file.

Based on pricing, it will cost 0.2 credits per simple conversion job .

Please suggest me how to avoid this same conversion second and n times.

thanks,

Shiva Kumar

Cyrillic

You do not need to upload the DWG file again and/or publish the translation again unless the DWG file has changed. If you do this, you will effectively consume 0.2cc. Instead, just reference the URN you received after upload/translation when launching the viewer. Depending on the storage strategy you choose , the "bubble" or SVF persists on the backend . For example, if you create a temporary bucket, files and bubbles will last for 24 hours, temporary for 1 month, and forever.

Related


Autodesk Forge convert file to svf not working

Matthew Vidovico I'm currently focusing on preparing files for the viewer tutorial on Autodesk Forge. Here's the link: https://forge.autodesk.com/en-US/docs/model-derivative/v2/tutorials/prep-file4viewer/ Instead of using cURL for the request, I use jquery aja

Autodesk Forge convert file to svf not working

Matthew Vidovico I'm currently focusing on preparing files for the viewer tutorial on Autodesk Forge. Here's the link: https://forge.autodesk.com/en-US/docs/model-derivative/v2/tutorials/prep-file4viewer/ Instead of using cURL for the request, I use jquery aja

Autodesk Forge convert file to svf not working

Matthew Vidovico I'm currently focusing on preparing files for the viewer tutorial on Autodesk Forge. Here is the link: https://forge.autodesk.com/en-US/docs/model-derivative/v2/tutorials/prep-file4viewer/ Instead of using cURL for the request, I use jquery aj

Autodesk Forge convert file to svf not working

Matthew Vidovico I'm currently focusing on preparing files for the viewer tutorial on Autodesk Forge. Here's the link: https://forge.autodesk.com/en-US/docs/model-derivative/v2/tutorials/prep-file4viewer/ Instead of using cURL for the request, I use jquery aja

Autodesk Forge convert file to svf not working

Matthew Vidovico I'm currently focusing on preparing files for the viewer tutorial on Autodesk Forge. Here's the link: https://forge.autodesk.com/en-US/docs/model-derivative/v2/tutorials/prep-file4viewer/ Instead of using cURL for the request, I use jquery aja

Autodesk Forge convert file to svf not working

Matthew Vidovico I'm currently focusing on preparing files for the viewer tutorial on Autodesk Forge. Here's the link: https://forge.autodesk.com/en-US/docs/model-derivative/v2/tutorials/prep-file4viewer/ Instead of using cURL for the request, I use jquery aja

Autodesk Viewer - Missing data for local svf file

Wandrier I have the following issue with my Autodesk API - Viewer. When I read the file with urn, I can get data like refPointTransform. But when I load the local svf file, I can't. Here is a photo with the urn: As you can see, there is refPointTransform. and

Generate a viewer file from two design files on Autodesk Forge

Kitano Using the Autodesk Forge Viewer I want to generate a viewer file from two IFC files using the Forge API. Can I do this with the Model Derivative API? Peter Broz You can translate "composite" files (for example, assembly and part files in Inventor, or XR

Autodesk Forge Viewer: Load SVF directly?

Jabi Casado As the official documentation states, you can upload source files to OSS and convert them to SVF using the Model Derivative API in your bucket. But is it possible to skip the translation step and directly upload the SVF project (eg one of these: ht

Prevent a function or file from being run by nose?

Greg Saab Nose will automatically run any functions it finds in the project test_*. So, for example, if there is a function called: """ test_server_setup.py sets up a pristine database to use for testing. DO NOT RUN ON PROD """ def test_server_init(): dro

Prevent content of pdf file from being modified

Muzaffar How to create read-only pdf files in Ubuntu? Gordon I think he meant to prevent the content from being copied. There is no way to prevent this. If you can read it, you can copy it. The only way to make it harder is to convert all pages to images. That

Prevent a function or file from being run by nose?

Greg Saab Nose will automatically run any functions it finds in the project test_*. So, for example, if there is a function called: """ test_server_setup.py sets up a pristine database to use for testing. DO NOT RUN ON PROD """ def test_server_init(): dro

Prevent content of pdf file from being modified

Muzaffar How to create read-only pdf files in Ubuntu? Gordon I think he meant to prevent the content from being copied. There is no way to prevent this. If you can read it, you can copy it. The only way to make it harder is to convert all pages to images. That

Autodesk Forge Viewer - Invalid OGT header in SVF2 format

Valentin Noves When I migrated Forge Viewer from SVF to SVF2, some geometries were not loaded and every element showed "Invalid OGT header" and "Failed to parse OGT geometry". console error I get the model directly from BIM360. I am using Nodejs with Express a