Home Technical Talk

(Solve) Maya MEL: batch undo history?

polycounter lvl 6
Offline / Send Message
bitinn polycounter lvl 6
Is it possible programmatically merge/modify command history queue?

I want this really for an UNDO operation: If my script performs a series of commands to create some meshes, what's the best way to "group" my commands together, so that UNDO can clean up the changes?

(In some query languages this is also called a transaction, which can be rollbacked.)

(I understand some commands are not undo-able, so an alternative would be to delete the result instead, but then how do I wire the delete to UNDO??)

Replies

Sign In or Register to comment.