コード例 #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)
コード例 #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 = ""
コード例 #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)
コード例 #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 = ""
コード例 #5
0
 def getNames(self):
     return namedanalysis.bdyAnalysisNames()
コード例 #6
0
 def getNames(self):
     return (namedanalysis.bulkAnalysisNames() + 
             namedanalysis.bdyAnalysisNames())
コード例 #7
0
 def getNames(self):
     return namedanalysis.bdyAnalysisNames()
コード例 #8
0
 def getNames(self):
     return (namedanalysis.bulkAnalysisNames() +
             namedanalysis.bdyAnalysisNames())