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?
Try here :
All frequently used events are listed and briefly documented there.
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.