Esempio n. 1
0
 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)
Esempio n. 2
0
 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)
Esempio n. 3
0
 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
Esempio n. 4
0
 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
Esempio n. 5
0
 def apply(self):
     try:
         self.doReplace()
     except Exception as err:
         msgError(err)
Esempio n. 6
0
 def __del__(self):
     if self.show_msg_on_delete:
         msgError(self)
Esempio n. 7
0
 def __del__(self):
     if self.show_msg_on_delete:
         msgError(self)
Esempio n. 8
0
 def apply(self):
     try:
         self.doReplace()
     except Exception as err:
         msgError(err)