Notifications
Clear all

[Closed] do max objects have creation ID?

are objects created in max assigned some kind of internal ID upon creation?

If i make a sphere, duplicate it and rename so it has the same name, max does not get the spheres confused, I am assuming that internally max has assigned some kind of ID to each sphere to keep track of it.

If there is an ID is there a way to expose this via maxscript?

2 Replies

hi,
you can try the handle property of objects

$.handle

but be aware that it can change for merged or xrefed objects (because merged or xrefed objects handles may conflict with handles in existing scene)

just to add to that – its actually better to use <object>.INode.handle rather than <object>.handle mainly because of the teapot object which has a handle property of type boolean which of course will cause an error if you try and treat it like an integer.