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.
更多推荐
发布评论