Revit API Forum
Welcome to Autodesk’s Revit API Forums. Share your knowledge, ask questions, and explore popular Revit API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Thumbnail Generation in node project

1 REPLY 1
Reply
Message 1 of 2
jan36GV
133 Views, 1 Reply

Thumbnail Generation in node project

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

Labels (3)
1 REPLY 1
Message 2 of 2
jeremy_tammik
in reply to: jan36GV

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Forma Design Contest


Rail Community