简体   繁体   中英

Forge Viewer: Show bottom toolbar and markups at the same time

I'm developing a tool that allow's several users to add markups to the same autocad drawings. I also want the users to be able to use the bottom toolbar of the forge viewer to hide/show layers and the properties popup.

The markup extension is good to add svg markups, however it hides the bottom toolbar of the forge viewer when entering the edit mode. It seams that the only way to show the bottom toolbar of the forge viewer is to call the .hide() method on the extension object which will hide the markups.

Is there a way to show the bottom toolbar and the markups at the same time?

Try:

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

However some of the built-in functionality (panning etc) disabled in markup mode (for compatibility reasons) which is why the toolbars were hidden away in the first place.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM