Reputation: 6192
Is there a way to get the loaded extensions?
For example, can I get the measurement extension by doing something like:
let m = viewer.Measurement
And then invoking the measurement methods like enabling and disabling it?
Upvotes: 1
Views: 273
Reputation: 6192
I found it, it's with:
let MeasureExtension = viewer.getExtension("Autodesk.Measure");
And to view all the extension you can use viewer.loadedExtensions
.
Upvotes: 1