简体   繁体   中英

Make and save change into Forge Autodesk Viewer

I need to view files with the autodesk viewer and make and save the changes. I wonder if it is possible to do it directly through the Forge API I thought to apply, once the waterfall viewer is loaded, all the preloaded changes in an internal database

The changes I would like to make are of the type:

  • adding a room,
  • addition of mesh
  • addition of successively recoverable properties
  • addition of other 3D models preloaded in forge

Since all property data and the SVF itself (or any derivatives for that matter) is immutable once extracted so I am afraid you'd need to programmatically append the mesh (try SceneBuilder to make things easier) every time the model is loaded... As for the properties it's possible to use your own data source for persistence though - see a case in point here and here

To persist any change to the original design file would require translating the model again for Viewer to consume the changes - however this process can be automated using our Design Automation service and Webhooks... see here to get started.

One possible workaround to persist your custom geometry would be to convert your geometry to OBJ and then SVF with the Model Derivative service (for course that'd incur costs...) and then load it to Viewer and aggregate with the original model...

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM