代码之家  ›  专栏  ›  技术社区  ›  Kenneth Phang

上传rvt,然后尝试获取模型数据

  •  0
  • Kenneth Phang  · 技术社区  · 7 年前

    https://gist.github.com/kenken64/b40ef906076018dc11aef1929b7e04a5

    我在检查状态时提交作业后出现以下错误

    200 b{“type”:“manifest”,“hasThumbnail”:“false”,“status”:“failed”,“progress”:“complete”,“region”:“US”,“urn”:“dxjuomfkc2sub2jqzn0czpvcy5vymply3q6zm9yz2vfc2ftcgxlml9jnmvhehjpzxexp2blybxqzmdzoc21hd2vodjlpzy9ywmxlnj2da”,“version”:“1.0”,“导数”:[{“name”:“LMV Bubble”,“hasThumbnail”:“false”,“status”:“failed”,“progress”:“complete”,“messages”:[{“type”:“error”,“message”:“Translation failure代码“:“TranslationWorker InternalFailure”}],“outputType”:“svf”}]} 检查完整的翻译数据返回状态代码200。

    请帮忙!

    https://developer.api.autodesk.com/modelderivative/v2/designdata/job {“input”:{“urn”:“dxjuomfkc2sub2jqzwn0czpvcy5vymply3q6zm9yz2vfc2ftcgxlm19jnmvhehjpzmxxexp2bwlybxqzmdzoc21hd2vodjlpzyywmxlnj2da”},“output”:{“formats”:[{“type”:“svf”,“views”:[“2d”,“3d”]}}}} {Content-Type':'application/json',Authorization':'承载eyJhbGciOiJIUzI1NiIsImtpZCI6Imp3dF9zeW1tZXRyaWNfa2V5In0.eyjjbgllbnrfawqioijdnmvhjprmxrwp2bwlybxqzmdzic01bv0vodjjzyisimv4cci6mtuwmjc2nswic2nvcccgguiolsigf0ytpyzwfkiiiwgf0ytp3cml0zisimrhdge6y3jlyxrliwgf0ytpzwyyy2gilcjjjdwnrzq6y3jl3jlzy2giljjjyxriliiwiynvja2v0onjlywqilcjidwnrzxq6dxbkyxriliiwja2v0omrlbgv0zjdlcjhdwqioijodhrwczovl2f1dg9kzXNrLmNvbS9hdWQvand0ZXhwNjAiLCJqdGkiOiJYMVh4R1l6UFZGVlpwZHlsR29MTmZKYjh4T2s1N0dEMDE0c2pNWWZhY1pzc1hDNmgwT0o2VTRIUWVhSEZHWGt4In0.janhaxhsbtnqyz9q-Pz7IsGZjF0Em\u e\u uourpr-4Q'} 应用程序/json;字符集=utf-8 b{“result”:“created”,“urn”:“dxjuomfkc2sub2jqzwn0czpvcy5vymply3q6zm9yz2vfc2ftcgxlm19jnmvhehjpzmxxexp2blybxqzmdzoc21hd2vodjlpzy9ywmxlnj2da”,“acceptedJobs”:{“output”:{“formats”:[{”type:“svf”,“views”:[“2d”,“3d”}}}}}}},registerKeys:[“2d8ddceb-9f0a-48e5-ae6e-53839cc6ded6”}。' 翻译数据返回状态代码201。

    1 回复  |  直到 7 年前
        1
  •  1
  •   Eason Kang    7 年前

    在调用模型派生作业API时,似乎有一些错误的配置。请更改以下行并重试:

    • compressedUrn: true compressedUrn: false
    • rootFilename: "A5.iam" rootFilename: "rac1.rvt" .

    P、 请调用此API https://developer.api.autodesk.com/modelderivative/v2/designdata/dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6Zm9yZ2Vfc2FtcGxlMl9jNmVheHJpZmxxeXp2bWlybXQzMDZoc21hd2VodjlpZy9yYWMxLnJ2dA/manifest