Announcements

Between mid-October and November, the content on AREA will be relocated to the Autodesk Community M&E Hub and the Autodesk Community Gallery. Learn more HERE.

problems with resetMaxFile() #noPrompt

problems with resetMaxFile() #noPrompt

Anonymous
Not applicable
1,564 Views
3 Replies
Message 1 of 4

problems with resetMaxFile() #noPrompt

Anonymous
Not applicable
Hi

I'm facing problems with resetMaxFile() #noPrompt
The #noPrompt doesnt produce any effect. That means that with or without the option,
resetMaxFile() ever shows the Do you really want to reset Yes? or Not? window.

Mine 3dmax is ver 9. Question is: It is fixed on the latest version?

Tks

Adrian
0 Likes
Accepted solutions (1)
1,565 Views
3 Replies
Replies (3)
Message 2 of 4

Steve_Curley
Mentor
Mentor
Accepted solution
resetMaxFile #noprompt works fine here on Max 9, 2008, 2009.

Note that there are no parenthesis. Parenthesis are only used (in MXS) on functions which take no parameters. In effect, you are telling it "there are no parameters" so it's ignoring the #noprompt.

Max 2016 (SP1/EXT1)
Win7Pro x64 (SP1). i5-3570K @ 4.4GHz, 8Gb Ram, DX11.
nVidia GTX760 (2GB) (Driver 430.86).

0 Likes
Message 3 of 4

Anonymous
Not applicable
Steve:

You are right! !! Problem was the inclusion of both, parentesis AND the noprompt parameter

A goog thing could be to include your explanation at MAX Script reference

Tks

Adrian
0 Likes
Message 4 of 4

Bob.Bon2000
Collaborator
Collaborator

Oh how I wish that you posted the code. Coz this > =

rt.resetMaxFile(noprompt=False)

still gives me pop up window ;- (

 

for other poor souls >

rt.resetMaxFile(rt.Name("noPrompt"))
0 Likes