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