How to get plugin name - plugin id mapping?



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



  • 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



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



  • 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



  • 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


Log in to reply