我已将 Revit 模型上传到我的 OSS 存储桶并尝试将文件转换为 svf,但我收到以下信息:
400 错误请求 {"diagnostic":"无效的 'design' 参数。"}
我是 Forge API 的新手,不确定哪里需要设计参数或它指的是哪里,因此我们将不胜感激。
POST https://developer.api.autodesk.com/modelderivative/v2/designdata/job
Headers
Authorization: Bearer {AccessToken}
Content-Type: application/json
Body
{
"input": {
"urn": "{MyDesignBase64Urn}",
"compressedUrn": false,
"rootFilename": "test-project.rvt"
},
"output": {
"destination": {
"region": "us"
},
"formats": [
{
"type": "svf",
"views": [
"2d",
"3d"
]
}
]
}
}
Run Code Online (Sandbox Code Playgroud)