Posts about Code Samples

June 9, 2021

Move viewer's camera along by drawing travel/walking paths in the Forge Viewer

Follow @yiskang Have you ever thought "Draw some lines representing the walking paths and make the camera move along this path in the Forge Viewer"? This is an idea I heard from a couple ...

Read More

May 7, 2021

Special characters in file names

If you have a zip file containing files with special characters in their names referencing each other, then you might run into problems when translating them using the Model Derivative se...

Read More

May 6, 2021

403 error when trying to view SVF2

Some people ran into a 403 error when trying to view the SVF2 of their models - see picture on top. The issue is that the acmSessionId needs to be set for the options that you pass to loa...

Read More

April 22, 2021

Switch between sheets

Certain file types can have multiple models in them. These tend to be 2d sheets as in the case of Revit projects (*.rvt), PDF files, Inventor drawings (*.idw), etc There is no direct buil...

Read More

April 21, 2021

Print sheet from Viewer

The Viewer does not provide Print related functionality. What BIM 360 does as well is it creates a screenshot of the sheet inside the Viewer, then uses an html page showing the image and ...

Read More

April 14, 2021

Run correct app bundle

Before relying on the Interaction project provided by the Visual Studio solution template for Design Automation for Inventor, I used to update my app bundles and activities in other ways ...

Read More

April 11, 2021

Migrate Revit Worksharing models from BIM 360 Team to BIM 360 Docs - powered by Revit 2022 Cloud Worksharing API

Follow @JohnOnSoftware Revit 2022 was officially released on April 8th, 2021, please check out the blog of new features at Revit 2022 Released. Also, the Revit 2022 SDK is coming on the w...

Read More