r.schmitt
r.schmitt

Reputation: 53

Forge Viewer Events documentation

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?

Upvotes: 2

Views: 2508

Answers (1)

Bryan Huang
Bryan Huang

Reputation: 5342

Try here: enter image description here

All frequently used events are listed and briefly documented there.

Upvotes: 4

Related Questions