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
    • Recent
    • Tags
    • Users
    • Register
    • Login

    FileSelect

    Scheduled Pinned Locked Moved SDK Help
    3 Posts 0 Posters 247 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 16/01/2006 at 03:55, xxxxxxxx wrote:

      User Information:
      Cinema 4D Version:    
      Platform:      
      Language(s) :

      ---------
      Hello 🙂
       
      When I use : var result=filename->FileSelect(savetitle, TRUE);
      I want to set my own path in that folder the filesearch should start.
      How can I do it ?
       
      My try is this:
            RecFile = new (BaseFile);
      var filename = GeGetRootFilename(); //pfad holen
            filename->RemoveLast();
            filename->AddLast("AutoRigs");
            filename->AddLast("*.cxt"); // dateinamen zum pfad hinzufügen
      var savetitle=GetRes(SAVETITLE);
      var result=filename->FileSelect(savetitle, TRUE);
      But the Filesearch start in another Path then I want.
      The Filetype (*.cxt) is in the FileSelect Window. Thats ok, but the folder to start is another 😞

      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 16/01/2006 at 05:44, xxxxxxxx wrote:

        Perhaps there's a typo somewhere in the path, so that the folder doesn't exist? Have you checked with the GetFullString() function, or whatever it's called, that the path is correct?

        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 16/01/2006 at 16:12, xxxxxxxx wrote:

          Ahrg, Yes !
          Right - Thanks !!!
          Wrong Foldername 😉
           
           
          Sorry...

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