Posts about Code Samples

January 7, 2021

Serverless Forge applications in Azure

Recently we've been getting questions around the same topic: "What would be the most cost-effective way to run my Forge application on Microsoft Azure?" To address that question, let's ta...

Read More

December 16, 2020

Forge & Progressive Web Apps

Quoting Wikipedia: A progressive web application (PWA) is a type of application software delivered through the web, built using common web technologies including HTML, CSS and JavaScript....

Read More

December 3, 2020

PixelCompare extension

Previously you needed a custom version of the PixelCompare extension in order to use it in your app - see Compare two 2D documents using Forge Viewer Though it does not seem to be documen...

Read More

December 2, 2020

Collapse category in the Property Panel

There is a function called setCategoryCollapsed(category,collapsed) for collapsing a category in the Property Panel, but the documentation is not clear on what exactly it expects as input...

Read More

December 1, 2020

Root object not visible in Model browser

When you load your Inventor assembly in the Viewer then the root object is not listed in the Model browser. Because of that you cannot even select that object and see the file's propertie...

Read More

November 24, 2020

Pass custom command-line arguments from WorkItem

You can only set the commandLine in the Activity, so how could you add job-specific arguments to it when starting the WorkItem? Many people simply place all information needed to drive th...

Read More

November 23, 2020

Different ways to run iLogic code

I already talked about running iLogic code that was defined in the Activity - see Run iLogic Rule without AppBundle. You could also provide the code (inside or the URL to it) in the WorkI...

Read More