Taylor Carrasco wrote: > This is a pretty cool solution! > > The only problem I get, is a barrage of the following error everytime > I run it from a fresh Maya. I am parsing a command list (nothing too > harsh, just simply Mel statements recorded earlier. But with a fresh > maya, it seems I always get the following error running the following > solution - - - > > # File "<maya console>", line 4, in <module> > # File "<maya console>", line 11, in validateMelCommand > # RuntimeError: There are no more commands to undo. > that's what i told, if whatever MEL code you're validating doesn't create an undo entry (or create multiple ones), the proposed solution is wrong. why not just run whatever mel you've got, and handle errors as they occur?
--~--~---------~--~----~------------~-------~--~----~ http://groups.google.com/group/python_inside_maya -~----------~----~----~----~------~----~------~--~---
