Maxon Developers
    • Downloads
      • All Downloads
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
      • Cinema 4D Python Examples
      • Cinema 4D C++ Examples
      • Project Tool
      • SDK Database
    • Documentation
      • Cinema 4D Python SDK
      • Cinema 4D C++ SDK
      • Cineware SDK
      • ZBrush GoZ SDK
    • Forum
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Forums
      • Overview
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • News & Information
      • Downloads
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Register
    • Login

    Getting Filename from FilenameCustomGui

    SDK Help
    0
    3
    43
    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
      Helper
      last edited by

      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

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

        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

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

          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

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