How does Forge Viewer aggregate multiple models offline?

I have multiple models, and after converting the models through the forge server, I download these converted svf file formats respectively. So how do I aggregate these models locally?

Mar.21,2021

the difference between online and offline is:

  1. online loading, if you do not know the URN, of the model, you need to read the model document through Document.Load () (you can imagine opening the Revit project document) to get the model URN, in the use of Viewer.LoadModel () to load multiple model URN (you can want to open multiple views in Revit), of course, this requires a token (Token) to access the data on the Forge service.
  2. when loading online, if you already know the model URN, you don't have to read the model document through Document.Load () and directly use Viewer.LoadModel () to pass in multiple model URN to load the model. You also need tokens to get data access.
  3. when loading offline, you don't need Document.Load () and token (Token), only need to know the location of the model (SVF, F2D) on your own server, and load it directly through Viewer.LoadModel () .

for examples of offline loading, please refer to samples of https://github.com/Autodesk-F.
multi-model aggregation. For examples of https://github.com/Autodesk-F.
multi-model aggregation, please refer to https://forge.autodesk.com/bl.

.

I hope it will be helpful to you ~


how do I load two svf models? Seek concrete steps

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e3b061-26b3c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e3b061-26b3c.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?