I'm trying to write my first add-on that should tell me the summary length of selected edges in edit mode if there are any. I got the part with getting selected edges and counting sum length, but what I am currently struggling to do is
to get add-on invoked on each edge select/deselect
to update the sum value to display result on the bottom statusbar (where the name of the active object, amount of vertices/edges/faces are displayed)
For the first one I guess there could be some sort of callback/delegate that I could assign for every select and deselect to be invoked, but I don't know which to use. For the second I guess (and hope) I just need to know which variable to use.
I'm using blender 2.8.71 beta if that matters. Thanks