Autodesk.Viewing.Extensions
LayerManagerExtension
new LayerManagerExtension()
Use its activate()
method to open the LayersPanel UI.
Layers are usually present in 2D models, but some 3D models may support
layers as well, for example: AutoCAD.
The extension id is: Autodesk.LayerManager
Examples
viewer.loadExtension('Autodesk.LayerManager')
Methods
activate()
Opens the Layers Panel UI.
deactivate()
Closes the Layers Panel UI.