예제 #1
0
파일: co3DPartMgr.py 프로젝트: nixz/covise
 def addObject( self, visItem):
     # check if visItem is a copy
     if ((not visItem.name == self.name) or self.name == 'test.3DPart') and type(visItem) == Part3DBoundingBoxVis.Part3DBoundingBoxVis:
         visItem.setImport( self.importModule )
     elif not type(visItem) == Part3DBoundingBoxVis.Part3DBoundingBoxVis and not type(visItem) == co3DPartMgr:
         visItem.setImport( self.importModule )
     coKeydObject.addObject( self, visItem )
예제 #2
0
 def addObject(self, visItem):
     # check if visItem is a copy
     if ((not visItem.name == self.name) or self.name == 'test.3DPart'
         ) and type(visItem) == Part3DBoundingBoxVis.Part3DBoundingBoxVis:
         visItem.setImport(self.importModule)
     elif not type(
             visItem
     ) == Part3DBoundingBoxVis.Part3DBoundingBoxVis and not type(
             visItem) == co3DPartMgr:
         visItem.setImport(self.importModule)
     coKeydObject.addObject(self, visItem)
예제 #3
0
 def addObject(self, visItem):
     _infoer.function = str(self.setParams)
     _infoer.write("addObject")
     visItem.setImport(self.importModule)
     coKeydObject.addObject(self, visItem)
     self.importModule.executeGeo()
예제 #4
0
 def addObject( self, visItem):
     _infoer.function = str(self.setParams)
     _infoer.write("addObject")
     visItem.setImport( self.importModule )
     coKeydObject.addObject( self, visItem )
     self.importModule.executeGeo()
예제 #5
0
 def addObject(self, visItem):
     visItem.setImport(self.importModule)
     coKeydObject.addObject(self, visItem)
예제 #6
0
파일: coJournalMgr.py 프로젝트: nixz/covise
 def addObject( self, obj ):
     _infoer.function = str(self.addObject)
     _infoer.write("name: %s" % obj.params.key)
     coKeydObject.addObject(self,obj)
     self.params.maxIdx = self.__numSteps()-1
     self.params.currentIdx = self.params.maxIdx        
예제 #7
0
 def addObject( self, visItem):
     _infoer.function = str(self.setParams)
     _infoer.write("addObject")
     visItem.setImport( self.cut )
     coKeydObject.addObject( self, visItem )
예제 #8
0
 def addObject(self, visItem):
     _infoer.function = str(self.setParams)
     _infoer.write("addObject")
     visItem.setImport(self.cut)
     coKeydObject.addObject(self, visItem)
예제 #9
0
 def addObject(self, obj):
     _infoer.function = str(self.addObject)
     _infoer.write("name: %s" % obj.params.key)
     coKeydObject.addObject(self, obj)
     self.params.maxIdx = self.__numSteps() - 1
     self.params.currentIdx = self.params.maxIdx
예제 #10
0
파일: coCADPartMgr.py 프로젝트: nixz/covise
 def addObject( self, visItem):
     visItem.setImport( self.importModule )
     coKeydObject.addObject( self, visItem )
예제 #11
0
 def addObject( self, obj ):
     _infoer.function = str(self.addObject)
     _infoer.write("name: %s" % obj.params.name)
     coKeydObject.addObject(self,obj)
예제 #12
0
 def addObject(self, obj):
     _infoer.function = str(self.addObject)
     _infoer.write("name: %s" % obj.params.name)
     coKeydObject.addObject(self, obj)