def exportNow(self): try: self.Object.Proxy.export(self.Object) self.Object.purgeTouched() except Exception as err: from PartOMagic.Gui.Utils import msgError msgError(err)
def Activated(self): # you generally shouldn't override this. Override RunOrTest instead. try: self.RunOrTest(b_run=True) except CommandError as err: pass except Exception as err: msgError(err) raise
def Activated(self): # you generally shouldn't override this. Override RunOrTest instead. try: self.RunOrTest(b_run= True) except CommandError as err: pass except Exception as err: msgError(err) raise
def apply(self): try: self.doReplace() except Exception as err: msgError(err)
def __del__(self): if self.show_msg_on_delete: msgError(self)