How to I set parameters on other plugin



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

    On 05/07/2011 at 06:23, xxxxxxxx wrote:

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

    ---------
    Hi,

    I'm trying to change export option from my plugin on other plugin (basically set "Export as text" to false on FBX plugin from my plugin). And I don't really understand how to do that. I have code like this:

    BaseContainer* dat = GetWorldPluginData(FBX_ID);
    dat->SetLong(FBXEXPORT_ASCII, 0);

    but that doesn't work - it keeps exporting text. I tried SetBool and SetParamter - no luck. Funny I have this comment next to the code (written by someone else long time ago) : "//this wasn't working pre r11... confirmed by maxon. is it working with r11?"

    Can anybody give me some hint?

    Thanks,
    Paulius


Log in to reply