Esempio 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)
Esempio 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 = ""
Esempio 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)
Esempio 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 = ""
Esempio n. 5
0
 def getNames(self):
     return namedanalysis.bdyAnalysisNames()
Esempio n. 6
0
 def getNames(self):
     return (namedanalysis.bulkAnalysisNames() + 
             namedanalysis.bdyAnalysisNames())
Esempio n. 7
0
 def getNames(self):
     return namedanalysis.bdyAnalysisNames()
Esempio n. 8
0
 def getNames(self):
     return (namedanalysis.bulkAnalysisNames() +
             namedanalysis.bdyAnalysisNames())