object identity (id) changes

On 10/02/2018 at 04:33, xxxxxxxx wrote:

according to the Python manual:

Return the ``identity'' of an object. This is an integer (or long integer) which is guaranteed to be unique and constant for this object during its lifetime. Two objects with non-overlapping lifetimes may have the same id() value. (Implementation note: this is the address of the object.)

When I query the id of an object, I get a variety of numbers, as well as a variety of memory allocations, that loop regularly.

https://www.dropbox.com/s/ndbbqh0hra8l7hf/id varying 01A.c4d?dl=0

my intention is to generate a unique name for an object so that it's consistent for the lifetime of that object


On 10/02/2018 at 05:09, xxxxxxxx wrote:

as usual, I searched a bit more and found the solution.
I followed another thread and found GetGUID()

Here's the result. Each cube has a unique GUID