1

I am doing the following steps to convert an .rvt file into .svf

  1. Authenticate
  2. upload .rvt file
  3. translate it to .svf (with modelderivative/v2/designdata/job)
  4. with the response check the job complete by checking the manifest (/modelderivative/v2/designdata/{urn}/manifest)
  5. once the job is complete (from manifest status), the response I get does not contain derivatives urns Link to the complete manifest response : https://drive.google.com/file/d/0ByrHSB-f7jP3TXhHYVQtOEUyM2c/view?usp=sharing

Sample response: the derivative urn is missing

class ManifestDerivative {
    name: autodesk.rvt
    hasThumbnail: true
    outputType: svf
    progress: complete
    status: success
    children: [class ManifestChildren {
        type: geometry
        role: 2d
        name: 03.51 - Detail V.01
        hasThumbnail: true
        mime: null
        urn: null
        progress: complete
        status: success
        resolution: []
        modelGUID: null
        objectIds: []
        messages: null
    }, class ManifestChildren {
        type: geometry
        role: 2
        ....

I want to know whether the urn returned by this response manifest is enough for downloading the bubble or there is something that I am doing wrong

Augusto Goncalves
  • 8,493
  • 2
  • 17
  • 44
ryaliscs
  • 123
  • 9

1 Answers1

1

The manifest is enough to download svf, however it is not a straightforward workflow, take a look at my recent blog post: Forge SVF Extractor in Node.js and at this project that does the extraction for you: https://extract.autodesk.io. You can find the source there.

Felipe
  • 4,325
  • 1
  • 14
  • 19
  • Thanks for the info, but, I am a java developer and not that comfortable with the java script. I am using the autodesk java sdk. – ryaliscs Aug 04 '17 at 12:35
  • I have tried to understand the java script project, but what I observe is urn and mime type is null in my case, were as that is expected to have values. – ryaliscs Aug 04 '17 at 13:04
  • There is no SDK methods that can help you with that workflow except getManifest. Unfortunately we don't have a Java version of that code ... Do you mean that urn is missing from the manifest response returned by the API? In which case you could log an issue against the Java SDK: https://github.com/Autodesk-Forge/forge-api-java-client – Felipe Aug 04 '17 at 13:55
  • Thank you @Philippe, will log an issue in the Java SDK – ryaliscs Aug 08 '17 at 11:34