Hi, did you try XSIUtils.DataRepository.GetIdentifier() passing the siObjectGUID argument? I've used this to keep track of ICE nodes without relying on name strings. It's persistent between sessions and is preserved when models are exported. Works like a charm. The only problem is that it's possibly a bit tricky to get a pointer back to the object, since you need to know what you're looking for. I use Application.FindObjects() to get a collection of objects of this class, then check for the ObjectGUID I'm looking for.
Ciaran On Tue, Jun 4, 2013 at 12:49 PM, Michal Doniec <doni...@gmail.com> wrote: > Hi, > > Is there any obvious way I am missing which would allow me to identify > objects in the scene, but not by name? > Something like ObjectID, but persistent between scene saves and loads. I > can generate UUID or something similar using "ObjectAdded" event and store > custom property but I'd rather avoid it. > > I want to be able to track objects regardless if they were renamed or not. > > -- > ---------- > Michal > http://uk.linkedin.com/in/mdoniec >