Help: How to get the ID of a PluginTag?



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

    On 14/05/2003 at 08:51, xxxxxxxx wrote:

    User Information:
    Cinema 4D Version:   8.100 
    Platform:   Windows  ;   Mac OSX  ; 
    Language(s) :   C.O.F.F.E.E  ;

    ---------
    Hi there

    To complete my plugin I need to know how I can check the PluginID of a PluginTag!
    I've tried already with tag->GetType(); This seems to work under XL8.1 but doesn't work under XL7 :(

    It is very urgent to know where my mistake is ;-)
    Thank you very much!

    qwaak
    Future Bytes

    www.future-bytes.com



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

    On 14/05/2003 at 14:26, xxxxxxxx wrote:

    Is the plugin for XL7, or for C.O.F.F.E.E. 8.1 as your header implies?
    Try BaseTag::GetID() or PluginTag::GetPluginID().



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

    On 16/05/2003 at 14:23, xxxxxxxx wrote:

    Hi there

    Thank you for your support Mikael!
    Now I've found the solution of my problem :)

      
    if (tag->GetType()==TAG_PLUGIN)  
    {  
         if (tag->GetName()==PlugintagName)  
         {       
              // do stuff  
         }  
    }  
    

    May this helps people who have the same problem!
    cya


Log in to reply