THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 12/12/2012 at 12:13, xxxxxxxx wrote:
I posted this on C4dcafe earlier, but thought it would be good to post here too.
From what I've read in the documentation and researched online, the following code should retrieve the name of my texture tags. BUT...I'm only getting "Texture" as a name regardless of what I've named the tags. So, I must be doing something wrong, yes?
FYI, there are multiple tags on the object, but only three texture tags, which are recognized by this code (what I want). Plus, I've also tried using < tag[c4d.ID_BASELIST_NAME] > without success.
for tag in pl.GetTags() : if (tag.CheckType(c4d.Ttexture)) : print(tag.GetName())