11-10-2009 03:05 PM
I have found the BD cleanup method to be invaluable with scripting. Just drop everything and clean up at the end. Now I have a case where I am modifying existing code and along the way I end up with a few broken wires and some kinks. A quick BD cleanup is usually very effective. However, I would very much like the ability to Undo the changes at the end if I don't like the results, and the BD cleanup method seems to wipe out undo transactions. I can place begin/end transaction around the BD cleanup and still no luck. Any workarounds, or am I missing something. Same behavior with remove bad wires, at least this is easily worked around with a little traversal. I thought that saving and reverting might work, but saving also seems to take out the undo buffer.
11-10-2009 03:21 PM
tst pointed out on the LV discussion forum that calling the CleanUp method on Diag.TopLvlDiag is undoable. Excellent.