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

    PluginTag::GetPluginID() method

    SDK Help
    0
    3
    392
    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 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 --

      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 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 --

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

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