Autodesk:如何将单位添加到Forge Viewer的校准Panels.js?
我正在使用使用Autodesk Forge Viewer的应用程序,该应用程序具有自己的校准面板在2D计划中进行测量(例如PDF或DWG文件)。 该面板(默认为默认情况下)仅显示这5个单元('ft和分数为',ft和Decimal in'','meters','cintimeters'和'毫米)),
我附上了Forge Viewer校准面板的图像: https://i.sstatic.net/ymsxf.png
我知道这些单位已被声明为在Autodesk库的“校准”中,
来自Forge组件代码: https://i.sstatic.net/zmtes.png
但是问题是...如何更改单元列表以显示其他单元,例如添加新单元或删除默认单元?
I am working in an app that use Autodesk Forge Viewer, which has its own calibration panel to do measurements in 2D plans (like PDF or DWG files).
This panel (by default) only displays these 5 units ('ft and fractional in', 'ft and decimal in', 'meters', 'centimeters' and 'millimeters')
I attach an image of the calibration panel of Forge Viewer:
https://i.sstatic.net/YmSxf.png
I know that these units are declared in the CalibrationPanels.js of Autodesk libraries
Image from Forge component code:
https://i.sstatic.net/ZMTeS.png
But the question is... how can I change the unit list to display another units, for example, to add new units or to remove the default ones?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
目前无法自定义单位列表。如果您需要另一个通用单元,请随时在此处提出建议,我们会将其传递给查看器工程团队。
Customizing the list of units is not possible currently. If you need another common unit, feel free to suggest it here and we would pass it along to the viewer engineering team.