Maxon Developers Maxon Developers
    • Documentation
      • Cinema 4D Python API
      • Cinema 4D C++ API
      • Cineware API
      • ZBrush Python API
      • ZBrush GoZ API
      • Code Examples on Github
    • Forum
    • Downloads
    • Support
      • Support Procedures
      • Registered Developer Program
      • Plugin IDs
      • Contact Us
    • Categories
      • Overview
      • News & Information
      • Cinema 4D SDK Support
      • Cineware SDK Support
      • ZBrush 4D SDK Support
      • Bugs
      • General Talk
    • Unread
    • Recent
    • Tags
    • Users
    • Login

    Getting Filename from FilenameCustomGui

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 235 Views
    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 Offline
      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 Offline
        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 Offline
          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