1

We have integrated AutoDesk Forge Viewer. We are sending a request to the Forge API's for conversion (using Model derivative API). After closing the Viewer, If we need to show the same file again, Currently we are posting the dwg file again for conversion to view it.

Instead is there a way so save the svf file in my local system so that I need not call the Forge web service twice for the same file.

According to the pricing, for every simple conversion job, its going to cost 0.2 credits.

Please suggest how I can avoid this same conversion second and n number of times.

Thank you,

Shiva Kumar

4

2 回答 2

0

我找到了有关如何遍历存储桶并查看存储桶中存在的文件的参考。

我们可以使用伪造凭证登录下面的现场演示。

现场演示

源代码

谢谢。

于 2018-12-13T05:22:21.363 回答
0

除非 DWG 文件已更改,否则您无需再次上传 DWG 文件和/或再次发布翻译。如果这样做,您将有效消耗 0.2cc。相反,只需在启动查看器时引用您在上传/翻译后收到的 URN。根据您选择的存储策略,“气泡”或 SVF 会保留在后端。例如,如果您创建一个临时存储桶,则文件和气泡将持续 24 小时,临时持续 1 个月,并永久持续。

于 2018-11-10T13:39:59.247 回答