Search code examples
autodesk-forgeautodesk-model-derivative

Model Derivatives API: translate to svf2 error 406 "SVF2 is not supported for this design."


We are uploading files to BIM 360 and trying to utilize the SVF2 format but it appears our derivatives are only generating SVF formats. We tried manually starting a translation job using this endpoint:

https://developer.api.autodesk.com/modelderivative/v2/designdata/job

with these parameters:

{
    "input": {
        "urn": [REDACTED],
        "compressedUrn": true,
        "rootFilename": "testModel.nwc"
    },
    "output": {
        "destination": {
            "region": "us"
        },
        "formats": [
            {
                "type": "svf2",
                "views": [
                    "2d",
                    "3d"
                ]
            }
        ]
    }
}

We are receiving an error response '406'

{"diagnostic":"SVF2 is not supported for this design."}

Any Ideas?


Solution

  • Based on the feedback from Eason, we realized the translation was happening automatically and there is no need to trigger it manually.

    We didn't think it was happening because model.IsSVF2() was returning false, but when we tried model.isOTG() it was in fact returning true.