在测量Forge Viewer中的DWG文件之前,如何强制校准?

发布于 2025-01-21 04:03:58 字数 102 浏览 1 评论 0原文

在检查了Forge查看器的文档后,我发现可以选择在PDF纸上进行测量之前强制校准。

但是,是否有类似的选择可以强制对其他类型的文件(例如DWG)进行校准?还是还有其他解决方法?

After checking the documentation of Forge Viewer, I found that there is an option to force the calibration before taking measurements in PDF sheets.

But is there a similar option to force calibration on other types of files, like DWG? Or is there any other workaround?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

忆梦 2025-01-28 04:03:58

我猜你的意思是提到的 forcePDFCalibration 选项 这里

对于DWG,一个选项可以是在加载模型后将forceCalibrate设置为true

var ext = viewer.getExtension("Autodesk.Measure");
ext.forceCalibrate = true;

I guess you mean the forcePDFCalibration option mentioned here.

For DWG one option could be setting forceCalibrate to true after loading the model:

var ext = viewer.getExtension("Autodesk.Measure");
ext.forceCalibrate = true;
~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文