在Autodesk大学,我们能够使用伪造API使用models.autodesk.io中的模型,并通过查看器API将其显示在网页中。模型上传器错误
我希望能够上传我们自己的.rvt文件以便我可以为我的公司制作更具内容意义的演示。
上传失败,每次最后都会出现一个只显示“???”的错误。
我问我们的家人,以确保没有文件中的链接和其相当轻的重量,所以我不知道它为什么失败。
我试图通过一系列的REST调用(使用邮递员)的,没有运气要么但我的反应多一点信息,以利用该模型衍生API“手动”:
{
"type": "manifest",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"region": "US",
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6d2VndGVzdGJ1Y2tldC9Pd2luZ3NNaWxscy5ydnQ",
"version": "1.0",
"derivatives": [
{
"name": "OwingsMills.rvt",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"messages": [
{
"type": "error",
"code": "Revit-UnsupportedFileType",
"message": "<message>The file is not a Revit file or is not a supported version.</message>"
},
{
"type": "error",
"message": "Possibly recoverable warning exit code from extractor: -536870935",
"code": "TranslationWorker-RecoverableInternalFailure"
}
],
"outputType": "svf"
}
]
}
更新: 通过转换我的文件.IFC尝试并获得一个更神秘的错误消息...请参阅下面的json响应:
{
"type": "manifest",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"region": "US",
"urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6d2VndGVzdGJ1Y2tldC9Pd2luZ3NNaWxscy5pZmM",
"version": "1.0",
"derivatives": [
{
"name": "LMV Bubble",
"hasThumbnail": "false",
"status": "failed",
"progress": "complete",
"messages": [
{
"type": "error",
"message": "Unrecoverable exit code from extractor: -1073741829",
"code": "TranslationWorker-InternalFailure"
}
],
"outputType": "svf"
}
]
}
谢谢,我们试过了。我们的文件必须有一些东西...我们尝试旧版本的Revit以及保存为.ifc文件,并且所有这些都失败了。 Revit文件可以工作,ifc文件可以通过其他第三方ifc查看器查看。 –