使用模型导数API(FORGE)的模型提取元数据
我正在尝试使用Forge Services进行一些操作,我想在BIM360/ACC上上传的Revit模型内获取一些对象的属性,我为此我称之为两个API的'https://developer.autodesk.com/modelderivativativative/ V2/designData/job'用于将作业转换为SVF,然后致电API“ https://developer.api.autodesk.com/modelderivative/v2/designdata/” + urn +“ + urn +”/作业)(直接通过Revit File的URN时失败)
我们是否可以在不转换为SVF的情况下直接获取元数据/属性?由于转换为SVF的大型文件需要大量时间,因此我的动机是减少获取属性的时间,如果您想到任何东西,您可以共享任何解决方案吗?
I was trying some hands on with forge services, I want to fetch few object's properties inside of a revit model uploaded on bim360/ACC, for which I am calling two API's 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job' for translating the job to svf and then calling API "https://developer.api.autodesk.com/modelderivative/v2/designdata/" + urn + "/metadata/" (with urn of the translated job) (failed when passed urn of revit file directly)
Can we not directly get the metadata/properties without converting the file to svf? Since translating to svf is taking a lot of time for large files, my motive is to decrease the time to fetch the properties, can you share any solutions if you think of any please?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
是的,假设您需要转换为SVF才能完全访问任何BIM元素属性,那么您是正确的。就是这样,或者在桌面修订中将其打开并访问那里的数据。在使用forge模型衍生物API 提取模型的元数据。
Yes, you are correct in assuming that you need to translate to SVF in order to access any BIM element properties at all. It's either that, or open it in desktop Revit and access the data there. Also discussed in the Revit API discussion forum thread on fetching metadata of a model using Forge model derivative API.