Search code examples
autodesk-forgeautodesk-model-derivativeautodesk-designautomation

What are the options for generating images in both the Forge design automation and model derivative APIs?


Currently, I'm using the thumbnail of an assembly generated on the design automation API. I'm looking for a method to generate images of various views, including iso, top, front and side images of my assembly. What are the options for generating images in both the design automation API and the model derivative API? Also, hoping the images generated can be a higher quality than the thumbnail - preferably something that looks as nice in the viewer, although I could settle for a line drawing.

Edit re: answer from Adam Nagy

namespace UpdateUserParametersPlugin
{
    [ComVisible(true)]
    public class SampleAutomation
    {
        private readonly InventorServer inventorApplication;

        public SampleAutomation(InventorServer inventorApp)
        {
            inventorApplication = inventorApp;
        }

Solution

  • Have just written an article on this topic: Generate images for Inventor models

    1) The Model Derivative API can only provide you with different sizes of Thumbnails, so it would not enable you to get images of the model with different orientations

    2) Design Automation API for Inventor can be used to generate such images using the Camera object and its SaveAsBitmap function provided by the Inventor API