无法获取Revit Filemeta数据或在3D查看器中查看Forvit模型衍生API的Revit模型 [英] Unable to get revit filemeta data or see revit model in 3d viewer for forge modelderivative API

查看:134
本文介绍了无法获取Revit Filemeta数据或在3D查看器中查看Forvit模型衍生API的Revit模型的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们一直在使用模型派生api端点来提取来自伪造的数据,但当前在上载特定Revit文件时提取元数据时遇到问题.

We have been using the model derivative api endpoints to extact data from forge but are currently having issues extracting meta data when uploading specifically Revit files.

我们的过程进行了:

  1. 验证

  1. Auth

以大块 https://developer.api上载模型. autodesk.com/oss/v2/buckets/ {bucketKey}/objects/{objectName}/resumable

Upload a model in chunks https://developer.api.autodesk.com/oss/v2/buckets/{bucketKey}/objects/{objectName}/resumable

创建上传作业 https://developer.api.autodesk .com/modelderivative/v2/designdata/job

获取翻译过程 https://developer.api.autodesk .com/modelderivative/v2/designdata/ {encodedUrn}/manifest

Get translation the process https://developer.api.autodesk.com/modelderivative/v2/designdata/{encodedUrn}/manifest

从伪造中获取对象 https://developer.api .autodesk.com/modelderivative/v2/designdata/ {encodedUrn}/元数据

Get the object from the forge https://developer.api.autodesk.com/modelderivative/v2/designdata/{encodedUrn}/metadata

当前,我们从第5步收到200响应,其中包含元信息,并且元信息为空,因此我们无法提取任何内容.

Current we are we receive a 200 response from step 5 with and empty meta information so we cannot extract anything.

当我们加载3D查看器(版本6.0和4.0)时,查看器会调用 https://developer.api.autodesk.com/derivativeservice/v2/manifest/

When we load the 3D viewer (versions 6.0 and 4.0) the viewer calls the https://developer.api.autodesk.com/derivativeservice/v2/manifest/

何时

"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"
            }
        ],

如果有任何帮助,它是从ifc格式转换而来的. 我们已经在360上尝试过使用该文件,并且在revit和ifc都可以伪造之前使用过revit和ifc.我也可以提供a.

It was converted from an ifc format if that helps in any way. We have tried this file in 360 and in forge with both revit and ifc before and translation has worked. I can provide a urn also.

推荐答案

如@Glenit所报告的那样,它在可恢复的上传中丢失了一些片段.作为参考,此答案指出了一些示例.

As reported by @Glenit, it was missing some pieces on the resumable upload. For reference, this answer points out some samples on it.

这篇关于无法获取Revit Filemeta数据或在3D查看器中查看Forvit模型衍生API的Revit模型的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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