模型上传器错误 [英] Model Uploader Error
问题描述
在Autodesk大学,我们能够使用伪造API来使用models.autodesk.io中的模型,并通过查看器API将其显示在网页中.
At Autodesk University we were able to use the forge API to use a model that was in models.autodesk.io and show it in a web page via the viewer API.
我希望能够上载我们自己的.rvt文件以使用,以便为我的公司制作一个更具上下文意义的演示.
I want to be able to upload our own .rvt file to use so I can make a more contextually meaningful demo for my company.
每次上传都在最后一次失败,并显示一条错误消息"???".
The upload fails every time at the end with an error that just says "???".
我要求我们的人员确保文件中没有链接,并且文件的重量很轻,所以我不确定为什么它会失败.
I asked our folks to make sure there were no links in the file and its pretty light weight so I am not sure why it fails.
我试图通过一系列REST调用(使用POSTman)手动"使用模型派生API,虽然运气不佳,但我的响应却多了一些信息:
I tried to use the model derivative API "manually" via a series of REST calls (using POSTman) with no luck either but a little bit more info on my response:
{
"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响应:
Update: Tried by converting my file to .ifc and received an even more cryptic error message...see my json response below:
{
"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"
}
]
}
推荐答案
Model Derivative API并不支持每个版本的Revit文件.以我的经验,它仅支持当前和2个以前的Revit版本.
The Model Derivative API doesn't support every version of Revit file. In my experience it has only support current and 2 previous Revit versions.
您是否尝试过使用更新版本的Revit重新保存文件?
Have you tried re-saving the file with a more recent version of Revit ?
这篇关于模型上传器错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!