英文:
Can there be different numbers of objects in the collections of the views?
问题
在查询元数据属性时,我一直在思考一个问题,即是否可以在每个视图中拥有不同数量的对象(https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-properties-GET/)。从AutoCAD的角度来看,似乎只有两个类别,2D视图和3D视图,而任何命名视图都不会有自己的元数据GUID,所以不能(顺便问一下如何访问那些命名视图?请参见附件)。但Revit中的视图每个都有自己的元数据GUID,经过测试,我得到了一个带有空集合的视图。可以安全地假设Revit中的{3D}视图始终包含所有对象吗?Civil3d/AutoCAD也是一样的吗?
英文:
Something I've been wondering, can you have a different number of objects for each view when querying the metadata properties? (https://forge.autodesk.com/en/docs/model-derivative/v2/reference/http/urn-metadata-guid-properties-GET/). From the autocad perspective, there seem to be only two categories, 2d views and 3d views and any named views won't get their own metadata-guid, so no (btw how to get access to those named views? see attachment). But views from revit get their own metadata-guid per view, from testing I've gotten a View with an empty collection. Is it safe to assume that the {3D} view from Revit always contain all objects? Same for Civil3d/Autocad?
答案1
得分: 0
抱歉,不能期望 Revit 3D 视图包含所有对象,因为用户可能会隐藏一些对象或在视图中关闭它们的可见性,而 Revit 转换器只会导出 Revit 视图中可见的对象到 Forge 视图(也称为可查看视图)。
更新 2020-01-13:
在查看我们的工程团队和我的调查后,您需要在图层管理器中将该图层的打印属性设置为关闭,以告诉 AutoCAD 转换器不要翻译该图层,然后该图层将永远不会在 Forge Viewer 的 2D 视图中可见。
英文:
Unfortunately, you cannot expect that Revit 3D views contain all objects since the user might hide some objects or turn-off their visibilities in the views, and the Revit translator will only export visible objects in the 3D view in Revit vies to Forge views (also called viewables).
Update 2020-01-13:
After checking our engineering team and my investigations, you have to set that layer's plot property to off in the layer manager to tell AutoCAD translator not to translate that layer, then the layer will not visible in the 2D view of the Forge Viewer forever.
通过集体智慧和协作来改善编程学习和解决问题的方式。致力于成为全球开发者共同参与的知识库,让每个人都能够通过互相帮助和分享经验来进步。
评论