Ejemplo n.º 1
0
 def sensitize(self):
     debug.mainthreadTest()
     meshctxt = self.currentMeshContext()
     meshok = meshctxt and not meshctxt.outOfSync()
     go_sensitive = bool(meshok and self.bdylist.get_value() is not None
                         and self.timeWidget.isValid()
                         and self.analysisWidget.isValid())
     self.go_button.set_sensitive(go_sensitive)
     namedok = len(namedanalysis.bdyAnalysisNames()) > 0
     self.sensitizeBottomRow(go_sensitive, namedok)
Ejemplo n.º 2
0
    def setNamedAnalysisChooser(self, *args):
        if self.suppressRetrievalLoop:
            return
        self.namedAnalysisChooser.update([''] +
                                         namedanalysis.bdyAnalysisNames())

        try:
            currentname = namedanalysis.findNamedBdyAnalysis(
                self.bdylist.get_value(), self.analysisWidget.get_value())
        except Exception, exc:
            currentname = ""
Ejemplo n.º 3
0
 def sensitize(self):
     debug.mainthreadTest()
     meshctxt = self.currentMeshContext()
     meshok = meshctxt and not meshctxt.outOfSync()
     go_sensitive = bool(meshok and
                         self.bdylist.get_value() is not None and
                         self.timeWidget.isValid() and
                         self.analysisWidget.isValid())
     self.go_button.set_sensitive(go_sensitive)
     namedok = len(namedanalysis.bdyAnalysisNames()) > 0
     self.sensitizeBottomRow(go_sensitive, namedok)
Ejemplo n.º 4
0
 def setNamedAnalysisChooser(self, *args):
     if self.suppressRetrievalLoop:
         return
     self.namedAnalysisChooser.update(['']
                                      + namedanalysis.bdyAnalysisNames())
     
     try:
         currentname = namedanalysis.findNamedBdyAnalysis(
             self.bdylist.get_value(),
             self.analysisWidget.get_value())
     except Exception, exc:
         currentname = ""
Ejemplo n.º 5
0
 def getNames(self):
     return namedanalysis.bdyAnalysisNames()
Ejemplo n.º 6
0
 def getNames(self):
     return (namedanalysis.bulkAnalysisNames() + 
             namedanalysis.bdyAnalysisNames())
Ejemplo n.º 7
0
 def getNames(self):
     return namedanalysis.bdyAnalysisNames()
Ejemplo n.º 8
0
 def getNames(self):
     return (namedanalysis.bulkAnalysisNames() +
             namedanalysis.bdyAnalysisNames())