THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 16/01/2008 at 15:38, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.5
Platform: Mac OSX ;
Language(s) : C++ ;
---------
OK, last question (for today). Promised!
I create texture tags for objects with a plugin. Every time the user clicks on a button, a new texture tag is created for the active object.
At some point in my plugin, I need to retrieve all of these texture tag and ONLY the ones that I created with the plugin, not the ones that the user created by creating a new material.
So, can I flag my texture tags in a way so that they are distinguishable from the 'normal' texture tags?
(What I did is this. I create a material + tag. Assign the material to the tag and give it a special name. When I want to retrieve all my tags, I loop through all the tags and look if it is linked to a material with this special name. Pretty complex, no?)