简体   繁体   中英

Autodesk forge SVF2 dbid

I configured our viewer to use SVF2 format yesterday as per these instructions: https://forge.autodesk.com/en/docs/model-derivative/v2/developers_guide/notes/

I have observed that when selecting a node in the model, we get different Id's from SVF vs SVF2.

I usually pull the metadata and properties using the following GET calls:

https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-GET/ https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-properties-GET/

It has been mentioned here that the SVF2 Id's are computed differently, is there a way to get the Id's of a SVF2 model without loading it into the viewer first?

Apologizing for any inconvenience had caused. This is a known issue that our engineering team is evaluating, and we're hearing customers' voices. Could you consider providing your use case to SVF2 objectId with more details and the paint points you might have if the objectId between GET properties and viewer are inconsistent? Currently, there are two workflows that we're interested in as the below. Could you kindly point out which one your workflow is?

  • Normal workflow ( GET properties -> Viewer), eg, get dbIds(objectIds) by filtering properties with some conditions with GET properties , then partial load objects with LMV.
  • Reverse workflow (Viewer -> GET properties ), eg, select some objects in LMV, then post back to GET properties to get specific properties to store in DB.

Note. If the information you want to share cannot be posted publicly, please send it to forge[DOT]help[AT]autodesk[DOT]com instead. Meanwhile, please remove any confidential information and personal data from anything you want to share with us before sending it out.

Update 2021/07/21

Just to let future devs know that SVF2 is now GA, article is here .

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