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
    • Recent
    • Tags
    • Users
    • Login

    How to get plugin name - plugin id mapping?

    Scheduled Pinned Locked Moved SDK Help
    5 Posts 0 Posters 398 Views
    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 Offline
      Helper
      last edited by

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

      On 28/01/2010 at 04:52, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:   11.5 
      Platform:      Mac OSX  ; 
      Language(s) :     C++  ;

      ---------
      Is there a list of plugin id - plugin name mappings somewhere?

      I need to find ID for fbx plugins. On windows I've managed to iterate through all plugins and do this:

      	// list all plugins
      	BasePlugin\* p = GetFirstPlugin();
      	while (p)
      	{	
      		GePrint("Plugin: ");			
      		GePrint(p->GetFilename().GetString());
      		GePrint(LongToString(p->GetID()));
      
      
      		p = p->GetNext();
      	}
      

      But on mac p->GetFilename().GetString() returns empty strings, so I can't get the mappings. Why would it return empty strings?

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

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

        On 28/01/2010 at 05:57, xxxxxxxx wrote:

        It does work on Mac. Unfortunatly the console output is delayed. For instance if you call it from a command plugin it's displayed after exiting the plugin.

        cheers,
        Matthias

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

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

          On 28/01/2010 at 06:49, xxxxxxxx wrote:

          I can see the console output - it outputs ids, but not the names.

          When filtering plugins using FilterPluginList (for SCENESAVER) - I get some names )I found one fbx plugin).

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

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

            On 28/01/2010 at 06:52, xxxxxxxx wrote:

            Hm, it works fine here. I used the same code as you. Which OSX version are you using?

            cheers,
            Matthias

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

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

              On 01/02/2010 at 00:36, xxxxxxxx wrote:

              Originally posted by xxxxxxxx

              Hm, it works fine here. I used the same code as you. Which OSX version are you using?

              IIRC 10.5

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