Notifications
Clear all

[Closed] Browse for path to a file

where in the maxscript help file would i find a command to allow me to launch a dialog to open a file and then use that path instead of load the file.

I hope that makes since

Lost…

5 Replies

Hi,

Try getSavePath fn.

Light

Hi.

If you want to select a file and then extract its path you’ll do:

fileName = getOpenFileName()
filePath = getFilenamePath fileName

But if you want to select only a path you’ll do:

selectedPath = getSavePath()

Hope that helps.

lol thanks I just found it I was getting frustrated and jumped the gun on posting.

thanks for you help

Lost…

Btw, the topic is called (surprise!) “Standard Open and Save File Dialogs”

1 Reply
(@bakerco)
Joined: 11 months ago

Posts: 0

yea I know I fell pretty foolish I apologize for wasting space on the forums as well as everyones time.

again thanks for the help

Lost…