用Forge Viewer自带的测量工具如何存取测量数据?

用Forge Viewer自带的测量工具(Autodesk.measure插件)如何存取测量数据?

clipboard.png

阅读 2.5k
1 个回答

There's an unofficial, extended version of the measure tool that supports the JSONify and reloading of measurement data: https://github.com/wallabyway...

let measurementData = measureTool.getJson();
...
measureTool.loadJson(measurementData);

Official support for this feature is still being reviewed and will be announced in due course.
Note: Although not entirely third party (built by ADN team), this extension is still unofficial and hence not officially supported by Autodesk, and is subject to change and might become incompatible with later versions of Viewer w/o prior notice.

撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进