Posts about Code Samples

July 30, 2020

Custom Shader Materials in Forge Viewer

Applying custom shader materials to your model elements in Forge Viewer is not an officially supported feature but - as with many other customizations - there are ways to get this done with...

Read More

July 16, 2020

Use external iLogic Rules

As discussed in the Advanced techniques to write iLogic rules article, it's possible to store your code outside Inventor files and reference them from iLogic Rules In iLogic search path for...

Read More

July 15, 2020

Resolving referenced Inventor files

Strictly speaking, this is not a Design Automation specific topic, but it does have some aspects relevant to it. Inventor mainly relies on paths set in the active Project to resolve Invento...

Read More

July 13, 2020

Markups with LeafletLoader vs PDFLoader

We already have an article on the new way of loading PDF's in the Forge Viewer using the PDFLoader component: https://forge.autodesk.com/blog/fast-pdf-viewingmarkup-inside-forge-viewer Prev...

Read More

July 6, 2020

Get dbId from externalId

When working inside the Forge Viewer you rely on dbId's to interact with the objects in it: getSelection() returns a list of dbIds, getProperties() expects dbId as input, etc The values of ...

Read More

June 17, 2020

DockingPanel basics: iframe sample

Extending the DockingPanel class with title, content, and footer.

Read More

June 17, 2020

AR/VR Toolkit Refresher

Forge AR/VR Toolkit - the side project of our colleague Cyrille helping customers interested in bringing their designs from Forge into Unity - is still in beta, but for those of you living ...

Read More