Autodesk Viewer:关于平面视图的2D视图的建议 [英] Autodesk Viewer: Suggestions for 2D view of floor view
问题描述
我有一个revit文件,能够通过云将其转换为svf并在3D查看器中查看.它既可以直接用作.rvt文件的转换,又可以用作navisworks插件导出器的导出.
I have a revit file and am able to convert it via the cloud to a svf and view it in the 3D viewer. It works both as conversion of the .rvt file directly and as an export from the navisworks addin exporter.
我的问题: 我希望我的应用程序的用户也能够像在revit中一样看到地板2D视图.
My question: I want the user of my app to also be able to see the floor 2D view as you can in revit.
我浏览了所有清单文件,但没有看到地板视图的f2d.
I have looked through all the manifest files and do not see a f2d for the floor view.
您建议我对2D视图使用什么?请注意,我将处理/绘制许多图形,因此,我希望不必为每个视图导出dwg,然后再进行转换.我希望有一个特殊设置可以传递给将创建2D视图的转换器.
What do you suggest I use for the 2D view? Note that I will have many drawings to process/view so I would prefer not to have to export a dwg for each view then convert those. I am hoping there is a special setting I can pass to the the converter that will create the 2D views
(注意:我还希望能够动态突出显示/纹理此视图的房间.因此,我将需要能够像在3D查看器中一样访问几何图形)
(Note : I also want to be able to highlight/texture the rooms of this view dynamically. So I will need to be able to access the geometry like you can in the 3D viewer)
推荐答案
Afaik Revit项目文件中定义的所有2D视图都将自动转换并包含在Forge输出中.例如,您是否看过LmvNav示例?
Afaik all 2D views defined in the Revit project file are automatically translated and included in the Forge output. Have you looked at the LmvNav sample, for instance?
https://calm-inlet-4387.herokuapp.com
它同时显示2D和3D视图.
It displays both 2D and 3D views.
请注意辅助视图"下拉列表中的可用2D视图列表:
Note the list of available 2D views in the Secondary View dropdown:
它甚至链接两个视图中的元素,以便在一个视图中选中的任何内容在另一个视图中突出显示:
It even links the elements in the two views so that anything selected in one is highlighted in the other:
您可以检查2D流从何处获取.来源在GitHub上:
You could check from where it gets the 2D streams. The source is on GitHub:
https://github.com/JimAwe/LmvNavTest
我认为,当您将2D或3D流提供给查看器时,您会选择它.
I think you select whether you want a 2D or a 3D stream when you supply it to the viewer.
这篇关于Autodesk Viewer:关于平面视图的2D视图的建议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!