autodesk-forgeautodesk-bim360autodesk-construction-cloud

How to use SVF2 model version from BIM360?


I am currently using models from BIM360 and have noticed a significant difference in loading times between the BIM360 viewer and my APS Viewer.

Upon investigation, I discovered that BIM360 is utilizing SVF2, whereas my APS Viewer is using SVF (confirmed with NOP_VIEWER.model.isSVF2() on both viewers).

Looking at the derivatives in the manifest gives:

...
   "extractorVersion": "2026.6.6.1636",
   "outputType": "svf",
   "overrideOutputType": "svf2",
...

Some older blogs mention that we should use different viewer options:

 var options = {
    env:"MD20ProdUS",
    api: "D3S",
    ...
 }

But it does not work (the viewer crashes on initialization) and is not necessary since v7.48.

Is there any way to use the SVF2 version of BIM360 / ACC files from the automatic conversion without doing any other translation ?


Solution

  • From documentation:

    Autodesk.Viewing.Initializer({ env: 'AutodeskProduction2', api: 'streamingV2', getAccessToken }, function () {
       const viewer = new Autodesk.Viewing.GuiViewer3D(container, { extensions });
       viewer.start();
    });
    

    In case of EU region:

    Autodesk.Viewing.Initializer({ env: 'AutodeskProduction2', api: 'streamingV2_EU', getAccessToken }, function () {
       const viewer = new Autodesk.Viewing.GuiViewer3D(container, { extensions });
       viewer.start();
    });