Inside Sabertooth
Learn how Sabertooth uses 3ds Max to create 3D interactive projects, including HBO Go’s Game of Thrones interactive experience
  • 1/3
You are here: Forum Home / Autodesk 3ds® Max® / MaxScript / selecting a directory...
  RSS 2.0 ATOM  

selecting a directory...
Rate this thread
 
22222
 
Permlink of this thread  
avatar
  • Location: Honolulu, HI
  • Total Posts: 34
  • Joined: 07 March 2008 05:39 AM

i’m making the UI for my tool now and i want to let the user select a directory that will be the export directory.  i can only find the getOpenFileName command, which lets you select a file.  does anyone know if there’s a similar function but for selecting a directory?



- Howard Hsu http://www.linkedin.com/in/howardab234

Now using:
Windows XP 64 Pro v2003 SP2 (yes XP64 is still around)
Core 2 Quad CPU Q6600 @ 2.4GHz
2GB RAM
NVidia GeForce 8800 GTX

Max 2008 x64
Maya 2008 64
MotionBuilder 7.5

Replies: 0
avatar

howardab234 02 February 2009 06:49 PM

i’m making the UI for my tool now and i want to let the user select a directory that will be the export directory.  i can only find the getOpenFileName command, which lets you select a file.  does anyone know if there’s a similar function but for selecting a directory?

getSavePath()

Documented at the bottom of the SAME page where getOpenFileName() is! :)



Borislav “Bobo” Petrov

Replies: 0
avatar

wow thanks!  i can’t believe i missed it… ok back to r’ing the fm…



- Howard Hsu http://www.linkedin.com/in/howardab234

Now using:
Windows XP 64 Pro v2003 SP2 (yes XP64 is still around)
Core 2 Quad CPU Q6600 @ 2.4GHz
2GB RAM
NVidia GeForce 8800 GTX

Max 2008 x64
Maya 2008 64
MotionBuilder 7.5

Replies: 0