THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 08/11/2006 at 21:28, xxxxxxxx wrote:
User Information:
Cinema 4D Version: 9.6
Platform: Windows ;
Language(s) : C++ ;
---------
Anyone know why the following code stopped working in 9.6 SDk ?
ptagi = 0;
while( ptag = (PluginTag* )(op->GetTag(Tplugin, ptagi++)) )
{
GePrint("Hello? Anyone there?"); //--- this is never called
if( ptag->GetType() == GTAG_PLUGID )
{
groups = ptag->GetData();
gCnt = groups.GetLong(GROUP_COUNT);
break;
}
}
...the mesh in question DOES have a plugin tag on it (of type GTAG_PLUGID), but op->GetTag() is failing now. I was using this code all over the place in previous versions, but for some reason it no longer works with the 9.6 SDK.
Do I need to start counting from 1 now or something? ~baffled~
Keith