[Closed] My script – MaxProject and Rollout Close Error
I wrote a maxscript which would load at startup and pop a dialog to create a project folder etc [Just like a VC++ project] or to just open last opened file.
The script is attached.
Only problem is when I load it from run script, it works ok and exits. But when I copy to the max startup scripts folder and it runs automatically, it gives an error on exit –
>> MAXScript Rollout Handler Exception: – Type error: closeRolloutFloater requires RolloutFloater, got: undefined <<
Anybody got any ideas? why is this happening
Thanks
I’ll post the updated version, if I fix this problem.Any other suggestions are also welcome
Try declaring MaxProjectFloater as global variable in Inits
--Inits
global MaxProjectFloater
In my case it worked
Thanks a lot lechoo, it worked !
Updated script is attached.
I’m using it for 3dsmax5, should work for other versions I guess.