In my addin I would like the user to be able to select curves, points etc and then the addin creates a little program. I would then like to save the program into a file (or preferably into the fusion document itself as an attribute perhaps).
The main problem is that I need some sort of identifier associated with the selected entities that persists across sessions. When the file is opened again in the future and the addin starts up, I would like to recreate the program and to do so I need to find the entities the user selected previously.
There does not seem to be a way to name SketchCurves so I can find them again and there does not seem to be a persistent uniqueID I could use instead?
One great method might be to change Fusion so that *all* attributes (even those associated with entities) get saved to the fusion document and recreated when the document is opened again. It would be easy then to search through the design and entity attributes and recreate my program!
Thanks!