Search code examples
autodesk-forgeautodesk-viewerautodesk-bim360

Autodesk Forge Viewer - show markups all the time


We are using the Forge viewer to show both 2D and 3D models. For the 2D models, we would like to be able to show markups all the time, like you can with the viewer inside BIM360.

I tried the solution mentioned here: Forge Viewer: Show bottom toolbar and markups at the same time - but I have not been able to get that to work. It seems like when I call:

Autodesk.Viewing.Extensions.Markups.Core.Utils.showLmvToolsAndPanels(viewer)

It hides the markups.

How is this done in BIM360? - are they using a custom viewer, where this has been enabled somehow?


Solution

  • Unfortunately I was able to get it to work with:

    Autodesk.Viewing.Extensions.Markups.Core.Utils.showLmvToolsAndPanels(viewer)
    

    See live sample here: enter image description here