Posts about Code Samples

December 1, 2022

Custom Tree Views

Sometimes, when developing viewer-based applications, you may want to display some sort of a custom, hierarchical information in form of a tree view. While there are 3rd party libraries fo...

Read More

November 21, 2022

Viewer Selection Highlighting

When the viewer version 7 was released back in 2019, one of the first, very noticeable changes was the highlighting of selected elements in a 3D model. Here's how the selected elements wer...

Read More

November 21, 2022

Customizing Viewer Context Menus: Part 2

Couple years ago our colleague Eason blogged about customizing viewer context menus. In this blog post let's take a closer look at the specific capabilities of this customization. As a qui...

Read More

October 18, 2022

Get/Create/Delete References(attachment) of ACC Entities by Relationship API

Follow @Xiaodong Liang On ACC platform, there are a lot of entities such as issue, checklist, asset, working in their functional modules(domain). The specific entity is an instance of the ...

Read More

October 13, 2022

Create a configurator

It's a topic that comes up quite often so we'll provide a high level overview of what's possible using components of Autodesk Platform Services (formerly known as Forge) Building a configu...

Read More

October 5, 2022

Direct-S3 upload and download with SDKs

Note: the SDKs we are referring to in this blog post are developed and maintained by our developer advocacy team, and are not considered official. There is an ongoing effort to provide off...

Read More

October 4, 2022

Debug into userFunction

As shown here you can create a userFunction and pass it to executeUserFunction to run in a worker. Because the code for it is placed in a blob generated on the fly, it's not straight-forwa...

Read More