Getting Filename from FilenameCustomGui



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

    On 19/06/2006 at 11:41, xxxxxxxx wrote:

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

    ---------
    Hi Guys,
    I'm using the FilenameCustomGui for dialogs, and I have found how to set the filename through the BaseCustomGui.SetData(). Now I need to extract that data, but the problem I run into is that BaseCustomGui.GetData() returns a TriState<GeData> object. I can get the filename from GeData, but I need to convert the TriState<GeData> to just a GeData object. Do you guys know how I can convert this object so I can get the file name from the FilenameCustomGui object.
    Thanks,
    Josh



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

    On 20/06/2006 at 00:13, xxxxxxxx wrote:

    should be:

    filenamecustomgui->GetData().GetValue().GetFilename();

    HTH
    Samir



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

    On 20/06/2006 at 08:10, xxxxxxxx wrote:

    Works like a charm! Thanks 3D Designer
    Josh


Log in to reply