undo a command (scripting)

 From:  Michael Gibson
10939.4 In reply to 10939.3 
Hi Peer,

re:
> You're probably right about command specific undo being for controlling undo while a
> command is running rather than after it's finished.

Yes that's correct that's for stuff like the polyline command where it handles undo itself within the command.

I'll take a look at your example script in a bit here.

- Michael