问题描述
在多模型查看器中,文档浏览器仅显示单个模型的工作表和视图.
In a multi model viewer the document browser shows only a single model's sheets and views.
extensions: ['Autodesk.DocumentBrowser']
是否可以一次加载多个模型的所有工作表.
Is it possible to load all the sheets of multiple models at a time.
谢谢双向
推荐答案
不幸的是,文档浏览器扩展"在支持多模型之前编写.
Unfortunately, the "document browser extension" was written before multi-model was supported.
理想情况下,如果您在 forge-viewer 中加载多个 Autocad 文件,您希望在文档浏览器扩展中看到所有图层.
Ideally, if you load multiple Autocad files in the forge-viewer, you would like to see all of the layers in the document browser extension.
是吗?
如果是这样,我可以向团队提出请求,以改进扩展,只需回复并告诉我.
If so, I can make a request to the team, to improve the extension, just reply and let me know.
或者,如果您愿意,您可以使用自定义属性面板和对原始扩展的引用来编写自己的代码:
Alternatively, if you want, you could probably code your own, with a custom Property Panel and references to the original extension:
这是文档浏览器扩展的原始代码:https://autodeskviewer.com/viewers/latest/extensions/DocumentBrowser/DocumentBrowser.js
Here's the original code for the Document Browser extension:https://autodeskviewer.com/viewers/latest/extensions/DocumentBrowser/DocumentBrowser.js
这是一篇关于如何使用您自己的属性(或图层信息)编写自定义属性面板的博客文章:https://learnforge.autodesk.io/#/viewer/extensions/panel
Here's a blog post on how to code a custom property panel with your own properties (or layer information):https://learnforge.autodesk.io/#/viewer/extensions/panel
告诉我.最好的
这篇关于多模型环境中的文档浏览器 Autodesk Forge的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!