I would like to be able to read from a drawing tool the values of a list that is created from an AddOn.
I have tried many different ways to achieve that without success. I spent enough time that I felt I now have to ask here.
In the AddOn, a list is created and values added by the OnStateChange().
From the Drawing tool, I would like to read the values set by the AddOn in the list in the OnStateChange(). I would also like to be able to modify the list from the Drawing tool such the AddOn will see the updated values for the list. The list defined in the AddOn is also used in other methods in that AddOn under the same class (MyCustomAddOn).
I have attached 2 very basic sample files to show what I want to achieve.
It might be my lack of knowledge of c# or OOP so if there is some good documentation that explains this concept I would greatly appreciate getting this reference.
Note: The timing of the read / write is not critical for the functionality I need.
Comment