在Forge Viewer中如何使用properties.db? [英] How properties.db is used in Forge Viewer?

查看:151
本文介绍了在Forge Viewer中如何使用properties.db?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

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

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

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.

这篇关于在Forge Viewer中如何使用properties.db?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆