FileSelect

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 😞

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?

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...