示例#1
0
 def delete(self, isInitialized, negMsgHandler=None):
     if isInitialized:
         if hasattr(self,
                    '_PartIsoCutterVis__myCollect') and self.__myCollect:
             theNet().remove(self.__myCollect)
         if hasattr(self,
                    '_PartIsoCutterVis__myColors') and self.__myColors:
             theNet().remove(self.__myColors)
     PartModuleVis.delete(self, isInitialized, negMsgHandler)
示例#2
0
 def delete(self, isInitialized, negMsgHandler=None):
     if isInitialized:
         if hasattr(self, '_PartMagmaTraceVis__myCollect') and self.__myCollect: theNet().remove(self.__myCollect)
         if hasattr(self, '_PartMagmaTraceVis__myColors') and self.__myColors: theNet().remove(self.__myColors)
     PartModuleVis.delete(self, isInitialized, negMsgHandler)
示例#3
0
 def delete(self, isInitialized, negMsgHandler=None):
     if isInitialized:
         if hasattr(self,
                    '_PartDomainLinesVis__myCollect') and self.__myCollect:
             theNet().remove(self.__myCollect)
     PartModuleVis.delete(self, isInitialized, negMsgHandler)
示例#4
0
 def delete(self, isInitialized, negMsgHandler=None):
     if isInitialized:
         if hasattr(self, '_PartDomainLinesVis__myCollect') and self.__myCollect: theNet().remove(self.__myCollect)
     PartModuleVis.delete(self, isInitialized, negMsgHandler)