Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
On 27/11/2016 at 11:55, xxxxxxxx wrote:
User Information: Cinema 4D Version: 15 Platform: Windows ; Language(s) : C++ ;
--------- Hi! I'm looking for ways to uniquely identify elements (objects, materials, tags etc.) in a scene. The "GetGUID()" function seems to be perfect for my purposes, but only applies to BaseObjects. Is there a similar way of obtaining a unique ID number for other elements?
Thanks /Filip
On 27/11/2016 at 19:01, xxxxxxxx wrote:
FindUniqueID() with MAXON_CREATOR_ID
On 28/11/2016 at 01:34, xxxxxxxx wrote:
Hello,
you can find some documentation on FindUniqueID() in the BaseList2D Manual.
Using MAXON_CREATOR_ID just accesses the internally stored GeMarker (see GeMarker Manual).
best wishes, Sebastian
On 28/11/2016 at 02:06, xxxxxxxx wrote:
Thanks! I tried FindUniqueID() and it seems to work perfectly for my purposes.
Best regards /Filip
On 28/11/2016 at 05:11, xxxxxxxx wrote:
Originally posted by xxxxxxxx Using MAXON_CREATOR_ID just accesses the internally stored GeMarker (see GeMarker Manual).
Originally posted by xxxxxxxx
Aha, so basically it returns the data stored in the GeMarker that you can also get with GeMarker::GetMemory()? Interesting. Good to know
Best, -Niklas