Hello,
I'm looking for a way to always uniquely identify objects in Vectorworks across multiple sessions and after conversion to a higher version. I'm using C++
Maybe I misunderstand it too, but the way I see it, objects in VW don't necessarily have a GUID immediately. And even if a GUID exists, it can change. And the only way I identify objects is via the handle - but I can't use that to store it across sessions (I think it's actually just a storage address). This also works f
Objects in VW do have a UUID, but only recently— starting in 2017 or 2018. The SDK has routines to read and write the UUID.
You are correct that you shouldn’t rely on handles, as they are just addresses and don’t persist among sessions, and even within a session a handle can be re-assigned if an object is deleted.
If you need an identifier for database purposes, you need to write to the object’s name. The name is unique by definition and indexed, so access is fast. You