2

I have found a few Autodesk.Viewing.SOME_EVENT events floating around in samples, currently using these:

viewer.addEventListener(Autodesk.Viewing.SELECTION_CHANGED_EVENT, selectionChanged);
viewer.addEventListener(Autodesk.Viewing.GEOMETRY_LOADED_EVENT, geomLoaded);
viewer.addEventListener(Autodesk.Viewing.OBJECT_TREE_CREATED_EVENT, treeCreated);

but cannot find any documentation enumerating all the possible events (there are scripts ive seen to subscribe to all event listeners: event monitor

but that information should be in the documentation somewhere right?

r.schmitt
  • 53
  • 1
  • 10

1 Answers1

4

Try here: enter image description here

All frequently used events are listed and briefly documented there.

Bryan Huang
  • 5,247
  • 2
  • 15
  • 20
  • thank you! it would be nice if this: https://forge.autodesk.com/en/docs/viewer/v6/developers_guide/overview/ pointed to the existence of this: https://autodeskviewer.com/viewers/latest/docs/ – r.schmitt Mar 14 '19 at 17:08