AIArtHandle changes when anchor is moved
Hi there!
I'm working on a bridge plugin between our own CAD software and Illustrator, and it's going fine for the most, but now I've hit a weird wall... I'm probably not understanding something intrinsic to the SDK, so hopefully someone can shed some light.
I get some bezier lines from our software (through a socket connection), and get them into Illustrator, and I store the link between my own UUID and the AISafeArtHandle (that I get through the AIArtHandle).
But when I move a point in the bezier lines, I receive the notification that something has changed, but when I get the selected lines, it seems the ArtHandle (and SafeArtHandle) changes, so I can't find a link between the source line (on my software) and the changed line on Illustrator.
Initially I was only using AIArtHandle, but then I found about AISafeArtHandle and thought that was the missing link, but apparently no. As a secondary question, what's the difference between AIArtHandle and AISafeArtHandle? If I can't trust it to be immutable, it seems like there's no big difference between both.
Anybody has any idea on how to preserve this link?
Best regards,
Diogo
