我正在研究将标签放置在属于RVT文件的2D绘图屏幕上的实现(例如Autodesk Extension DropeMeextension)。
PIN的位置似乎与视口有关,因此在加载Forge查看器之前,是否可以在API响应中确定属于RVT文件的项目的视口?
我想要的是获取具有视图的项目,而无需将项目加载到ForgeViewer。
(在加载Forge查看器之前,我使用清单API()确定RVT的儿童2D项目是否是可见的2D模型。
是否可以通过清单API请求或其他ACC/BIM360 API获取视口信息?)
,我还想知道我是否需要确定除2D楼平面图以外的其他模型上是否存在视口。
I'm working on an implementation (like Autodesk extension DropeMeExtension) that places tags on the 2D drawing screen belonging to the rvt file.
The location of the pin seems related to the viewport, so before loading the forge viewer, is it possible to determine the existence of the viewport of the item belonging to the rvt file in the API response?
What I want is get the items which have viewports without load the item to a forgeviewer.
(Before loading the forge viewer, I utilize manifest api(https://developer.api.autodesk.com/modelderivative/v2/designdata/{urn}/manifest) to determine if the children 2d item of rvt is a viewable 2D model.
Is it possible to get the information of viewport via the manifest api request or other ACC/BIM360 APIs?)
And I also want to know do I need to determine if viewports exist on models other than 2d floor plans.
发布评论
评论(1)
这种类型的信息包含在称为“ AEC模型数据”的JSON结构中,该结构是由Forge模型衍生产品为选定的设计格式生成的。您会在模型导数清单中使用
“角色”:“ autodesk.aec.modeldata”
,您可以获取和探索JSON数据,而无需将模型加载到查看器中。在这些博客文章中探讨了此JSON的格式:
This type of information is included in a JSON structure called "AEC Model Data" that is generated by the Forge Model Derivative service for selected design formats. You'll find it in the Model Derivative manifest with
"role": "Autodesk.AEC.ModelData"
, and you can fetch and explore the JSON data without having to load the model into the viewer.The format of this JSON is explored in these blog posts: