Message 1 of 2
SimpleObject scripted plugin save/load crash
Not applicable
12-20-2007
10:50 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Can anybody help with a crash I'm getting with a scipted plugin?
I'm new to MAXScript and hoping it's just something I've missed out...
I've written a very basic simpleobject plugin. It has a classID generated by genClassID() and all works fine when I add it.
My problem is that when I save the scene then try to reload it, I get an error message "An error has occurred and the application will now close. Do you want to attempt to save a copy of the current scene?", after which Max crashes.
I've added the path where the script is stored to the system paths, and the path also appears in the plugin manager.
I've also tried copying the script to \Autodesk\3ds Max 9\stdplugs\stdscripts and to \Autodesk\3ds Max 9\Scripts\Startup with the same result.
I've also tried several different classIDs from genClassID()
Have I missed out an essential step somewhere?
Thanks
I'm new to MAXScript and hoping it's just something I've missed out...
I've written a very basic simpleobject plugin. It has a classID generated by genClassID() and all works fine when I add it.
My problem is that when I save the scene then try to reload it, I get an error message "An error has occurred and the application will now close. Do you want to attempt to save a copy of the current scene?", after which Max crashes.
I've added the path where the script is stored to the system paths, and the path also appears in the plugin manager.
I've also tried copying the script to \Autodesk\3ds Max 9\stdplugs\stdscripts and to \Autodesk\3ds Max 9\Scripts\Startup with the same result.
I've also tried several different classIDs from genClassID()
Have I missed out an essential step somewhere?
Thanks