26 Mar 2019

Model Derivative IFC pipeline call to change

The IFC Model Derivative processor is currently based on the Navisworks importer. A better implementation has been implemented and deployed using Revit instead. Changing importer has an impact on the data format and content, so you will need to update your code to handle those changes.

The transition will happen in 2 phases.

Phase 1:  From today and for couple of months, the Model Derivative IFC pipeline will default to Navisworks still. However, you can start testing the Revit pipeline using a parameter as describe below. 

Phase 2: In a few month, the Model Derivative API we will switch the default pipeline to Revit instead. I do strongly encourage testing IFC files using the new Revit pipeline as soon as possible and report any problem you may find. Note it is expected that the data structure may change, so update your code accordingly. The legacy Navisworks pipeline will remain accessible using the same parameter.

 

Phase 2 will be announced on this blog after validation of the new pipeline. If any issue please reach out at forge.help@autodesk.com 

 

Phase 1:

Translate an IFC file using Navisworks (default)


curl -X 'POST'
     -H 'Content-Type: application/json; charset=utf-8'
     -H 'Authorization: Bearer PtnrvrtSRpWwUi3407QhgvqdUVKL'
     -v 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job'
     -d
      '{
         "input": {
           "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL21vZGVsLmlmYw",
         },
         "output": {
           "formats": [
             {
               "type": "svf",
               "views": [
                 "3d"
               ]
             }
           ]
         }
       }'

Or  using the new parameter


curl -X 'POST'
     -H 'Content-Type: application/json; charset=utf-8'
     -H 'Authorization: Bearer PtnrvrtSRpWwUi3407QhgvqdUVKL'
     -v 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job'
     -d
      '{
         "input": {
           "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL21vZGVsLmlmYw",
         },
         "output": {
           "formats": [
             {
               "type": "svf",
               "views": [
                 "3d"
               ],
               "advanced": {
                 "switchLoader": false
               }
             }
           ]
         }
       }'

Translate an IFC file using Revit (using the new parameter)


curl -X 'POST' \
     -H 'Content-Type: application/json; charset=utf-8' \
     -H 'Authorization: Bearer PtnrvrtSRpWwUi3407QhgvqdUVKL'
     -v 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job' \
     -d
      '{
         "input": {
           "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL21vZGVsLmlmYw",
         },
         "output": {
           "formats": [
             {
               "type": "svf",
               "views": [
                 "3d"
               ],
               "advanced": {
                 "switchLoader": true
               }
             }
           ]
         }
       }'


Phase 2:

Translate an IFC file using Revit (default)


curl -X 'POST'
     -H 'Content-Type: application/json; charset=utf-8'
     -H 'Authorization: Bearer PtnrvrtSRpWwUi3407QhgvqdUVKL'
     -v 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job'
     -d
      '{
         "input": {
           "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL21vZGVsLmlmYw",
         },
         "output": {
           "formats": [
             {
               "type": "svf",
               "views": [
                 "3d"
               ]
             }
           ]
         }
       }'

Or using the new parameter


curl -X 'POST'
     -H 'Content-Type: application/json; charset=utf-8'
     -H 'Authorization: Bearer PtnrvrtSRpWwUi3407QhgvqdUVKL'
     -v 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job'
     -d
      '{
         "input": {
           "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL21vZGVsLmlmYw",
         },
         "output": {
           "formats": [
             {
               "type": "svf",
               "views": [
                 "3d"
               ],
               "advanced": {
                 "switchLoader": false
               }
             }
           ]
         }
       }'

Translate an IFC file using Navisworks (using the new parameter)


curl -X 'POST' \
     -H 'Content-Type: application/json; charset=utf-8'
     -H 'Authorization: Bearer PtnrvrtSRpWwUi3407QhgvqdUVKL'
     -v 'https://developer.api.autodesk.com/modelderivative/v2/designdata/job'
     -d
      '{
         "input": {
           "urn": "dXJuOmFkc2sub2JqZWN0czpvcy5vYmplY3Q6bW9kZWxkZXJpdmF0aXZlL21vZGVsLmlmYw",
         },
         "output": {
           "formats": [
             {
               "type": "svf",
               "views": [
                 "3d"
               ],
               "advanced": {
                 "switchLoader": true
               }
             }
           ]
         }
       }'

Related Article