Return to Snippet

Revision: 69193
at May 1, 2015 03:28 by janusoo


Initial Code
ofd = DotNetObject "System.Windows.Forms.OpenFileDialog"
ofd.Title = "Files to Batch..."
ofd.Filter = "3ds Max(*.max)|*.max|All files (*.*)|*.*"
ofd.InitialDirectory = maxFilepath
ofd.Multiselect = true
			
ofdResult = ofd.ShowDialog()
ofdResult.toString()
			
if ofdResult.equals ofdResult.OK do
(
    fileArray = ofd.filenames
)

Initial URL

                                

Initial Description
get multiple filenames by DotNet OpenFileDialog

Initial Title
DotNet OpenFileDialog in MAXScript

Initial Tags

                                

Initial Language
Maxscript