Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Help: How to get the ID of a PluginTag?

    SDK Help
    0
    3
    357
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      Helper
      last edited by

      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

      1 Reply Last reply Reply Quote 0
      • H
        Helper
        last edited by

        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().

        1 Reply Last reply Reply Quote 0
        • H
          Helper
          last edited by

          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

          1 Reply Last reply Reply Quote 0
          • First post
            Last post