Posts about Code Samples

October 31, 2019

Learn Forge Tutorial gets Dashboard Section

In preparation for Forge DevCon Lab series, We added a new section to the Tutorial in order to help you create a Dashboard functionality that will let you visualize a different representati...

Read More

October 22, 2019

Transparent background with Viewer - at long last...

Disclaimer : the code and approach demonstrated hereby should restrictly regarded as a temporary workaround and is effective as of Viewer v7.4 and below but subject to change without notice...

Read More

October 21, 2019

Open file from zip

Opening a model from a zip file that you provided as one of the inputs for a WorkItem is really easy. You just have to add "zip": true for the input parameter in your POST activities reques...

Read More

October 15, 2019

Working with Viewer data "Serverlessly" - thumbnails, screesnshots and serverless upload

Traditionally, it might sound tricky to implement workflows like displaying thumbnails, snapshots, uploaded derivatives and performing model data queries that appear to be light weight with...

Read More

October 7, 2019

Load encrypted model data with WebAssembly and Rust

Security and intellectual property protection has arguably been a high priority concern for Forge and BIM developers at large. With Forge our strengthening measures include the enforcement ...

Read More

September 29, 2019

Design Automation for Inventor with Vault

We've had developers looking to work with the Inventor Design Automation API, but their files were inside of Vault, and hence were wary of the additional steps involved, viz. logging into t...

Read More

September 29, 2019

Revisiting Viewer’s Theming Coloring - Selective Cancelling, Deferred Rendering and Recursive Propagation

Note: All usage demonstrated hereby is based on Viewer v7.* and is subject to change for future versions! When we talked about theming color (available via viewer.setThemingColor(dbid)) las...

Read More