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)
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 = ""
def getNames(self): return namedanalysis.bdyAnalysisNames()
def getNames(self): return (namedanalysis.bulkAnalysisNames() + namedanalysis.bdyAnalysisNames())