Autodesk伪造SVF2 dbid [英] Autodesk forge SVF2 dbid

查看:38
本文介绍了Autodesk伪造SVF2 dbid的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我昨天按照以下说明将我们的查看器配置为使用 SVF2 格式:https://forge.autodesk.com/en/docs/model-derivative/v2/developers_guide/notes/

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/

我观察到在模型中选择一个节点时,我们从 SVF 和 SVF2 中得到了不同的 Id.

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

我通常使用以下 GET 调用来提取元数据和属性:

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/

已经提到了 此处 SVF2 Id 的计算方式不同,有没有办法在不先将其加载到查看器中的情况下获取 SVF2 模型的 Id?

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?

推荐答案

对于造成的任何不便,我们深表歉意.这是我们的工程团队正在评估的一个已知问题,我们正在听取客户的意见.如果 GET 属性 和查看器不一致?目前,我们对以下两个工作流程感兴趣.您能指出您的工作流程是哪一种吗?

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?

  • 正常工作流程(GET 属性 -> 查看器),例如,通过使用 GET 属性,然后使用 LMV 部分加载对象.
  • 反向工作流程(查看器 -> GET 属性),例如,在 LMV 中选择一些对象,然后回发到 GET 属性 以获取要存储在数据库中的特定属性.
  • Normal workflow (GET properties -> Viewer), e.g., get dbIds(objectIds) by filtering properties with some conditions with GET properties, then partial load objects with LMV.
  • Reverse workflow (Viewer -> GET properties), e.g., select some objects in LMV, then post back to GET properties to get specific properties to store in DB.

注意.如果您想分享的信息无法公开发布,请将其发送至forge[DOT]help[AT]autodesk[DOT]com.同时,请在发送前删除您想与我们分享的任何机密信息和个人数据.

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.

2021/07/21 更新

为了让未来的开发者知道 SVF2 现在是 GA,文章是 此处.

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

这篇关于Autodesk伪造SVF2 dbid的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆