THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/05/2009 at 15:16, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 10.1
Platform: Windows ; Mac OSX ;
Language(s) : C++ ;
---------
Hi,
I try to get a tag from an object. It's not a standard tag, but a plugin tag I wrote myself.
I try to do it like this, using the tag's plugin ID:
> BaseTag \*mytag = op->GetTag(123456);
But I always get NULL.
If I try (just for fun) to get a standard tag, it works fine:
> BaseTag \*mytag = op->GetTag(Tphong);
Am I doing something wrong? Is it an SDK bug? Can I just get standard tags with GetTag()? How can I solve this problem?
Thanks in advance!
Greetings,
Jack