如何在Forge Viewer中使用properties.db?(How properties.db is used in Forge Viewer?)

编程入门 行业动态 更新时间:2024-10-20 06:26:09
如何在Forge Viewer中使用properties.db?(How properties.db is used in Forge Viewer?)

sqlite数据库文件properties.db通常是https://extract.autodesk.io/输出中最大的文件。

它在Forge Viewer中的用途是什么,如果没有使用,为什么它在ZIP文件中可用?

The sqlite database file properties.db is usually the biggest file in the output from https://extract.autodesk.io/.

What is it used for in Forge Viewer, and if it's not used, why is it available in the ZIP file?

最满意答案

这个例子复制两者的原因是样本的目的是演示如何从Autodesk服务器中提取“气泡”。 设计文件的属性以2种格式提取:aka json(json.gz)和sqlLite(sdb / db)。 Autodesk Viewer仅使用json格式,但其他系统可能更喜欢使用sqlLite。 当您在客户端浏览器中执行代码时,json方法使其更容易。 如果您不想获取此文件,则修改示例以排除sqlLite数据库相当容易。 如果你想做的话,我可以指出你需要修改哪些代码。

The reason this example is copying both is that the purpose of the sample is to demo how to extract the 'bubble' from the Autodesk server. The Design File' properties are extracted in 2 formats: aka json (json.gz) and sqlLite (sdb/db). The Autodesk Viewer only uses the json format, but other systems may prefer using sqlLite. The json approach makes it easier when you code executes in client browsers. It is fairly easier to modify the sample to exclude the sqlLite database if you are not interested to get this file. I can point you which code you need to modify if that's something you want to do.

更多推荐

本文发布于:2023-07-31 02:13:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1340500.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:如何在   Forge   Viewer   properties   db

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!