Thumbnail Generation in node project

Thumbnail Generation in node project

jan36GV7
Community Visitor Community Visitor
264 Views
1 Reply
Message 1 of 2

Thumbnail Generation in node project

jan36GV7
Community Visitor
Community Visitor

Hello, in our project we are using extraction of thumbnails - https://aps.autodesk.com/en/docs/model-derivative/v2/developers_guide/basics/thumbnail_generation/, ...

 

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

 

We are constructing the body of request like this:

 

const outputs: any = {
  formats: [
    {
      type: "svf2",
      views: ["2d", "3d"],
      advanced: {
        conversionMethod: "v3",
        generateMasterViews: true,
      },
    },
    {
      type: 'thumbnail',
      advanced: {
        width: 400,
        height: 400,
      }
    }
  ],
};

 

It successfully creates a thumbnail but it's of the 2d model, not 3d, even though the 3d model is available in this Revit file. Anyone has idea how we could get the 3D model thumbnail?

 

Thanks

0 Likes
265 Views
1 Reply
Reply (1)
Message 2 of 2

jeremy_tammik
Alumni
Alumni

Sorry, totally wrong place for this question. Please note that this discussion forum is dedicated to programming desktop Revit using the desktop Revit API. For all APS-related questions, you should ask through the dedicated APS help channels:

  

  

I hope this clarifies. Thank you for your cooperation and understanding.

  

Best regards,

  

Jeremy

  

Jeremy Tammik Developer Advocacy and Support + The Building Coder + Autodesk Developer Network + ADN Open
0 Likes