Mogref
03-04-2008, 10:47 PM
Hi Everyone,
I'm currently working on a MAXscript that uses Procutter to cut an object up into fragments. Based on user settings the script creates the cutter object(s) then performs the cutting operation. Once the object has been cut up, I delete the cutter object to remove it from the scene. After I do that is where MAX becomes unstable. After running the script, if I randomly select the fragments created by the Procutter operation MAX will crash. This happens every single time. I've replicated the problem on a coworker's computer as well.
Through trial and error I found that if I selected and deleted the cutter object manually as opposed to in the script, MAX will not crash. I've tried every alternate method to delete the object in the script that I can think of (deleting it in a separate function, converting the cutter to an editable poly then deleting it, etc.) and all have the same result, MAX crashes. If I delete it by hand, MAX is completely stable.
I'm curious if anyone on this forum has had similar problems using Procutter with MAXscript or knows what's happening or if I'm doing something wrong.
Thanks,
-Brian
I'm currently working on a MAXscript that uses Procutter to cut an object up into fragments. Based on user settings the script creates the cutter object(s) then performs the cutting operation. Once the object has been cut up, I delete the cutter object to remove it from the scene. After I do that is where MAX becomes unstable. After running the script, if I randomly select the fragments created by the Procutter operation MAX will crash. This happens every single time. I've replicated the problem on a coworker's computer as well.
Through trial and error I found that if I selected and deleted the cutter object manually as opposed to in the script, MAX will not crash. I've tried every alternate method to delete the object in the script that I can think of (deleting it in a separate function, converting the cutter to an editable poly then deleting it, etc.) and all have the same result, MAX crashes. If I delete it by hand, MAX is completely stable.
I'm curious if anyone on this forum has had similar problems using Procutter with MAXscript or knows what's happening or if I'm doing something wrong.
Thanks,
-Brian
