[Closed] problem opening an existing max file
hi…
I am trying to open a .max file that I have created earlier using maxscript in order to modify it, but I couldnt find any other command except
max open file
and the open dialog would appear, i want everything to be dialog free, the same thing for the reset command i just want no dialogs to appear… any idea?
Thank you…
Hello,
Check out the loadMaxFile and resetMaxFile methods (and the quiet and #noPrompt parameters)…
<boolean>loadMaxFile <filename_string> [useFileUnits:<boolean>] [quiet:<boolean>]
[b]resetMaxFile/b [ #noPrompt ] If the #noPrompt optional argument is not specified, 3ds max will prompt with its standard dialog “Do you really want to reset”.
ajohnson
thank you for your reply, I tried the resetMaxFile() and I set the #noPrompt option but it still shows me the “Are you sure you want to reset” dialog, can you give me an example of the option setting maybe im doing it wrong.
Thanks again…
It should look like this:
resetMaxFile #noPrompt
Maybe you’re doing this?
resetMaxFile() #noPrompt
You only need to use () when you’re not passing any parameters.