[Closed] Max Crash on Script Evaluation
Hello Everyone,
I was just trying to do a test run where I make a couple of geometry objects through my script.
Now the thing is that the max file already consists as million+ objects. If a user by mistake fondles with the file, then there are chances when max would crash!!!
if recover file is opened, the geometry objects which are created through the script as references do not get deleted which BY DEFAULT after successful evaluation of the script, get deleted.
So how to overcome this problem? Any callBacks ??
Regards,
Videep
the moral of this story is that don’t fondle anything or anyone by mistake!
he he he … yeah absolutely…
Denis, I found the solution to the previous thread “Problems with Aligning to Faces”
I explained the theory behind it…
http://forums.cgsociety.org/showthread.php?f=98&t=1005638
not an ideal solution, but you could mark your temporary objects in some way (user properties, custom attribute, appdata, etc.) and add a filepostload callback deleting all such objects from the scene…