Filename parameters in Dialog



  • On 03/10/2017 at 02:04, xxxxxxxx wrote:

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

    ---------
    Hello.

    How can I add filename parameters in custom GeDialogs ?
    I checked SDK Example-Dialog and I didn't find it in the parameter list.
    I need the same functionality as a filename parameter in Description GUI.

    I assume I have to do it with an edit text and a button (for folder search), right ?

    Thank you for your time.



  • On 03/10/2017 at 02:23, xxxxxxxx wrote:

    BaseContainer filedata;
    filedata.SetBool(FILENAME_DIRECTORY, true);
    (FilenameCustomGui * )AddCustomGui(1000, CUSTOMGUI_FILENAME, "External Path", BFH_SCALEFIT, 450, 0, filedata);
    

    For more informations make sure to read FilenameCustomGui and CustomGui Manual



  • On 03/10/2017 at 02:29, xxxxxxxx wrote:

    Thank you very much graphos !


Log in to reply