如何从 Autodesk Forge Viewer 中的单个 IDW 文件中加载多个工作表?

huangapple go评论52阅读模式
英文:

How to load multiple sheets from single idw file on Autodesk forge viewer?

问题

目前我正在使用 Autodesk IDA,我在存储桶中有一个包含几个 IDW 文件的压缩文件。
其中一个 IDW 文件包含了三张图纸,现在我想要在查看器上加载包含所有三张图纸的绘图页。目前我只能加载其中一张图纸,其他两张无法加载。

IDW 文件结构
示例绘图页.idw
-图纸 1
-图纸 2
-图纸 3

请指导我们如何在查看器上加载所有的图纸。

英文:

Currently I'm working on Autodesk IDA I have zip file in bucket which contains few IDW files.
In which 1 IDW file contains 3 sheets, now I want to load drawing sheet with all 3 sheets on viewer. As of now I'm able to load only one sheet on viewer other 2 is not loading.

IDW file structure
Sampledrawingsheet.idw
-sheet 1
-sheet 2
-sheet 3

Please guide us to load all the sheets on viewer.

答案1

得分: 0

你可以使用我们JavaScript代码中的文档浏览器来解决这个问题。
我们需要为此添加扩展(文档浏览器)。
例如:
viewer.loadExtension('Autodesk.DocumentBrowser')。

这个解决方案现在在我的代码中起作用。
谢谢。

英文:

hi we can solve this problem by using document browser in our JavaScript code.
we have to add extension for that(Document Browser )
e.g.
viewer.loadExtension('Autodesk.DocumentBrowser').

This solution is now working in my code.
Thank You

huangapple
  • 本文由 发表于 2023年7月17日 17:58:20
  • 转载请务必保留本文链接:https://go.coder-hub.com/76703328-2.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定