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

查看:30
本文介绍了在 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 种格式提取:又名 json (json.gz) 和 sqlLite (sdb/db).Autodesk 查看器仅使用 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天全站免登陆