Toggle navigation
Polycount
News
Forums
Patreon
Challenges
Quarterly Character Art Challenge
Bi-Monthly Environment Art Challenge
Wiki
Moar
Recent
Activity
Badges
Drafts
Store
Sign In
·
Register
Author:
VinceOrcis
Home
›
Technical Talk
Q MAXSCRIPT: Undo of script makes max crash
leslievdb
polycounter lvl 15
Offline /
Send Message
leslievdb
polycounter lvl 15
May 2010
Is there a way to make a maxscript undoable?
whenever max tries to undo my script actions it crashes
0
·
Share on Facebook
Share on Twitter
Replies
Offline /
Send Message
Yozora
polycounter lvl 11
May 2010
Does it happen with every single maxscript or just some specific ones? If so, which specific ones?
And are you doing anything specific before you run the script or can you just startup max, make a box, run the script and it'll crash?
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
leslievdb
polycounter lvl 15
May 2010
It only seems to happen with my own script but there is a lot going on in the script so i'd rather have the undo option disabled
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
leslievdb
polycounter lvl 15
May 2010
I found a way to make the crashes stop by using
clearUndoBuffer();
0
·
Share on Facebook
Share on Twitter
Offline /
Send Message
r_fletch_r
polycounter lvl 9
May 2010
undo "Description of whats being done" on ( --your code here )
everything with parenthesis will be stored in 1 undo event. if this crashes then post code. Or as Perna says 'maxscript help'->'index'->'undo'
Perna: do you think you could get your post added as a button to the quick reply dialog?
0
·
Share on Facebook
Share on Twitter
Sign In
or
Register
to comment.
Replies
And are you doing anything specific before you run the script or can you just startup max, make a box, run the script and it'll crash?
clearUndoBuffer();
everything with parenthesis will be stored in 1 undo event. if this crashes then post code. Or as Perna says 'maxscript help'->'index'->'undo'
Perna: do you think you could get your post added as a button to the quick reply dialog?