How to Rollback fail operation in python panel?

   1123   0   0
User Avatar
Member
680 posts
Joined: 11月 2013
オフライン
Hi,

The Self tool can rollback fail operation when some exceptions occurs. How to implement this feature in python panel button callback?

I tested the performUndo,but I can not pre-known if there are some operations need to be undone. If I perform undo directly on failure, the previous operation may be undone sometimes.

Thanks for any tips!
  • Quick Links