MObjectHandle.hashCode() or pymel.nodetypes.DependNode.__hash__() keep in mind this unique id is only valid while the scene is open. close it and reopen and all the id's will change. however, with some clever usage of dictionaries and callbacks i'm sure something more persistent could be managed.
-chad On Aug 16, 2009, at 11:23 PM, Sebastian Schoellhammer wrote: > Hello, hello - > > I seem to remember there was a unique object ID introduced Maya2009 > but I can't find anything on it in the documentation/web. > > Is my mind playing tricks on me? > > Thanks for any hints, > > seb > > > --~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
