On 13/01/2016 at 14:14, xxxxxxxx wrote:
User Information:
Cinema 4D Version: R16
Platform:
Language(s) : C++ ;
---------
Sorry for the many questions recently. This one doesn't have a very high priority. :)
When I use tag- >GetNodeData() on a "Target" tag, I always get nullptr. Why is that? And how do
I get the TagData for that tag then?
BaseTag tag* = op->GetFirstTag();
while (tag) {
auto data = (TagData* ) tag->GetNodeData();
GePrint(tag->GetName() + " | " + String::UIntToString((UInt) data));
tag = tag->GetNext();
}
It seems to work (ie. not return a nullptr) for some other tags I tested.
Thanks,
Niklas