PDA

View Full Version : problem opening an existing max file


solar_system2006
04-29-2006, 05:02 PM
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...

ajohnson
04-29-2006, 05:30 PM
Hello,

Check out the loadMaxFile and resetMaxFile methods (and the quiet and #noPrompt parameters)...


<boolean>loadMaxFile <filename_string> [useFileUnits:<boolean>] [quiet:<boolean>]


resetMaxFile() [ #noPrompt ] If the #noPrompt optional argument is not specified, 3ds max will prompt with its standard dialog "Do you really want to reset".

solar_system2006
04-30-2006, 09:32 PM
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..

ajohnson
04-30-2006, 11:09 PM
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.

solar_system2006
05-01-2006, 08:56 AM
yup i was writing the wrong code :scream:

thank you for your help :)

CGTalk Moderation
05-01-2006, 08:56 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.