Get Filepath and Filename on user export

Hey all,

So been learning maxscript to support the max users at work. Is there anyway to get the filepath and filename when a user manually exports out a mesh? I found getSavePath but it just lets the user pick a folder to save to. Looking for something similar to filedialog in Maya where it creates a file browser dialog and returns the path to me. I took a look at callbacks and there is postExport but it doesnt seem to return anything :frowning: Thanks again for the help!

Found the command. getSaveFileName Curse my search skills!

Could you have the users use a custom exporting tool and use the getSaveFileName dialog to have the user specify what/where they want to export to?

[QUOTE=ozzmeister00;20739]Could you have the users use a custom exporting tool and use the getSaveFileName dialog to have the user specify what/where they want to export to?[/QUOTE]

Yeah that’s the route Im going to take. Kind of wish the max commands were organized like maya’s haha but the search will do :smiley:

[QUOTE=haiddasalami;20740]Yeah that’s the route Im going to take. Kind of wish the max commands were organized like maya’s haha but the search will do :D[/QUOTE]

The help docs can be a little confused at times.
But fortunately there are lots of options out there.
It seems as though you are on the right track based on your request.