PluginTag::GetPluginID() method

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 16/03/2003 at 11:17, xxxxxxxx wrote:

User Information:
Cinema 4D Version:   8.1 
Platform:   Windows  ;   
Language(s) :     C++  ;

---------
Hi all;

I am trying to convert some (rather simple) plugins from version 7.3 to 8.1. Now, I am sorely missing a method:

I get an object's tag list by

GetFirstTag()

.
Then I determine the type of the tag by

GetType()==Tplugin

.
Finally I want to check the plugin's ID. There used to be a method

GetPluginID()

, but it is gone (sez da compiler), with afaics no other method in the class hierarchy doing quite what I want (besides, the class PluginTag is a pretty good place to look for such a method).

How do I get the plugin's registered ID? Not Tplugin, but the unique plugin-specific ID I (or someone else) got from Maxon. Where did that method move?

Thanks,
-- Cairyn --

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 18/03/2003 at 00:18, xxxxxxxx wrote:

okay, after some debugging I found the solution.

Apparently, the tag's method

GetType()

does no longer return the constant

Tplugin

for plugin tags, as it did in the V7.3 API, but the assigned ID instead.

*sigh* I really wish someone would document changes in behaviour like that...

-- Cairyn --

THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED

On 18/03/2003 at 09:37, xxxxxxxx wrote:

Thanks. Though the need for explicit R7 conversion docs should ideally become less over time, I'll at least make sure that Atom::GetType() gets the right description.