Notifications
Clear all
[Closed] Invalidate Scene from Maxscript
Nov 02, 2009 3:49 pm
Is there any way to invalidate scene with maxscript?
I’m using user properties in my maxscript project, and if the only change made in scene is the change of user properties, max doesn’t ask to save the file on opening new file.
I was thinking of making and deleting some little dummy object to invalidate scene, but it seems a little bit clumsy. Is there some more correct way?
2 Replies
Nov 02, 2009 3:49 pm
Hi,
there is: setSaveRequired true. After setting this, exiting Max or resetting the scene will ask to save before proceeding.
Take a look at “Exiting and Resetting 3ds Max” and “MAX File Loading and Saving” in MaxScript Reference.
- Enrico