PDA

View Full Version : Select Folder Dialog


threedian
05-28-2007, 05:37 PM
Hi

Is it possible to open a "Select Folder..." Dialog, enabling the user to set a path that is used later in my script? I can't find any info about this anywhere

*edit: think the answer might have something to do with dot net... not that i can find much information about maxscript and the dotnet class though*

Ian

threedian
05-28-2007, 05:58 PM
have just found some pages by bobo the god of maxscript with some good info - http://www.scriptspot.com/bobo/mxs9/dotNet/

seems this is only doable in max 9 btw

if anyone has anymore info on this, please share :)

Bobo
05-28-2007, 06:12 PM
Hi

Is it possible to open a "Select Folder..." Dialog, enabling the user to set a path that is used later in my script? I can't find any info about this anywhere

*edit: think the answer might have something to do with dot net... not that i can find much information about maxscript and the dotnet class though*

Ian

Where did you look for the info? ;)

It is in "Standard Open and Save File Dialogs" topic.

thePath = getSavepath()

In Max 8 and higher, it also allows you to set the initial path to browse from, like

thePath = getSavepath initialDir:(GetDir #maxroot)

will start browsing in your Max root folder.

threedian
05-28-2007, 06:29 PM
uuurgh i cant believe i missed that - thanks bobo

k i feel stupid right now :) sorry for wasting time - ive only been looking for an answer to this for the last 3 hours

CGTalk Moderation
05-28-2007, 06:29 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.