Beispiel #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)
Beispiel #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)
Beispiel #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
Beispiel #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
Beispiel #5
0
 def apply(self):
     try:
         self.doReplace()
     except Exception as err:
         msgError(err)
Beispiel #6
0
 def __del__(self):
     if self.show_msg_on_delete:
         msgError(self)
Beispiel #7
0
 def __del__(self):
     if self.show_msg_on_delete:
         msgError(self)
Beispiel #8
0
 def apply(self):
     try:
         self.doReplace()
     except Exception as err:
         msgError(err)