/ Published in: Maxscript

get multiple filenames by DotNet OpenFileDialog
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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 )
Comments
