import salome
import meshGui
+import visuDriver
import studyManager
#from qxembed import QXEmbed
groupMa = ()
try:
itemName = item.get_nom()
- #print 'CS_pbruno itemName',itemName
+ print 'CS_pbruno itemName',itemName
if itemName == 'GROUP_MA':
itemValue = item.get_valeur()
print 'CS_pbruno trouvé! GROUP_MA->', itemValue
elif type( itemValue ) == tuple:
groupMa += itemValue
else:
- children = item.GetSubList()
+ children = item.__GetSubList()
for child in children:
groupMa += self.__getAllGroupeMa( child )
except: # à cause de GetSubList()...
+ print "dans except"
pass
print 'CS_pbruno groupMa',groupMa
return groupMa
elif type( itemValue ) == tuple:
groupNo += itemValue
else:
- children = item.GetSubList()
+ children = item.__GetSubList()
for child in children:
groupNo += self.__getAllGroupeNo( child )
except: # à cause de GetSubList()...
+#-------------------------------------------------------------------------------------------------------
+# Pilotage de la Visu des elements de structures
+#
+
+ def envoievisu(self,liste_commandes):
+ #try:
+ if ( 1 == 1 ):
+ atLeastOneStudy = self.__studySync()
+ if not atLeastOneStudy:
+ return
+ monDriver=visuDriver.visuDriver(studyManager.palStudy,liste_commandes)
+ monDriver.analyse()
+ else:
+ #except:
+ print "boum dans envoievisu"
+
#-------------------------------------------------------------------------------------------------------
# Point d'entré lancement EFICAS
print 'bizarre'
embedded.grabKeyboard()
- """
\ No newline at end of file
+ """