- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi all,
I found that I have been writing add-ins without really understanding it. Here is my question: What is this global handlers list?
_handlers = []
I understand that I need to append my event handlers to it, or else the events won't be triggered. But I don't understand why is it necessary, or how does it work. (I am not very familiar with Python as well)
Now that I want to arrange my functions across different modules, but I am not sure how to manage the handlers in such cases. Do I create a handlers list for each module (if required), or I need to store them all in one handlers list (let's say, in the main file)?
Is there any documentation regarding this (managing handlers), either Fusion 360-specific or Python-general? I am happy to read and study more.
Solved! Go to Solution.