Posts about Code Samples

March 23, 2020

BIM 360 Viewer vs Forge Viewer

Many apps are using the Forge Viewer, including Fusion Team, BIM 360 Docs and 3rd party apps. In case of certain models, there can be clear differences in the way the model is presented in ...

Read More

March 22, 2020

Migrate Inventor add-in to Design Automation

Many people might have existing Inventor add-ins that they plan to migrate to Design Automation API for Inventor. Instead of trying to modify your existing add-in's code to use InventorServ...

Read More

March 21, 2020

Run() vs RunWithArguments()

In case of AppBundles for Design Automation API for Inventor there are two entry points depending on the arguments in the commandLine parameter of the Activity that is using the AppBundle. ...

Read More

March 20, 2020

Handle command line arguments

The commandLine property of an Activity specifies what executable should be run on the Design Automation server and what arguments should be passed to it. It tends to include the headless s...

Read More

March 10, 2020

Multi-model refresher

The support for loading and aggregating multiple models into one scene in Forge Viewer has been around for a while now, but the documentation of this area might have been a bit scarce. Let'...

Read More

March 6, 2020

Minimizing Viewer workloads - loading models partially with selected components and features only

Quite curiously, we’ve often had inquiries about mechanisms to tree shake Viewer’s loading process and load only what’s minimally required to render the model or just a part of it, which is...

Read More

February 29, 2020

401 Unauthorized / 403 Forbidden

A developer ran into a 401 Unauthorized error (in the documentation described as Invalid authorization header) when going through the Extract Metadata From a Source File, so I went through ...

Read More