我可以通过在 C# 中使用 webhook API 获得有关如何从 Forge 获取文件翻译进度百分比的帮助/示例吗? [英] Can I get some help/example on how to get the file translation progress percentage from Forge by using webhook API in C#?

查看:29
本文介绍了我可以通过在 C# 中使用 webhook API 获得有关如何从 Forge 获取文件翻译进度百分比的帮助/示例吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我可以通过在 C# 中使用 web-hook API 获取有关如何从 Forge 获取文件翻译进度百分比的帮助/示例吗?

Can I get some help/example on how to get the file translation progress percentage from Forge by using web-hook API in C#?

推荐答案

您可以在 https://github.com/Autodesk-Forge.有关 webhook 的 C# 示例,请尝试 https://github.com/Autodesk-Forge?q=webhook&type=&language=c%23.

You can find many samples on https://github.com/Autodesk-Forge. For C# examples around webhook, try https://github.com/Autodesk-Forge?q=webhook&type=&language=c%23.

为了跟踪文件翻译的进度,您只需为 extraction.updated 事件,然后使用模型衍生端点 GET/modelderivative/v2/designdata/:urn/manifest 以检索包含翻译状态的 JSON 清单整个文档及其各个 2D 或 3D 输出的翻译状态.

In order to track the progress of your file translation, you can simply create a webhook for the extraction.updated event, and then use the Modle Derivative endpoint GET /modelderivative/v2/designdata/:urn/manifest to retrieve the JSON manifest which will include the status of the translation for the entire document as well as the translation status of its individual 2D or 3D outputs.

这篇关于我可以通过在 C# 中使用 webhook API 获得有关如何从 Forge 获取文件翻译进度百分比的帮助/示例吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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