]> SALOME platform Git repositories - tools/eficas.git/commitdiff
Salome HOME
PN : bug mineur selection (cf AMA)
authorPascale Noyret <pascale.noyret@edf.fr>
Tue, 12 Dec 2006 13:23:56 +0000 (13:23 +0000)
committerPascale Noyret <pascale.noyret@edf.fr>
Tue, 12 Dec 2006 13:23:56 +0000 (13:23 +0000)
Editeur/panelsSalome.py

index 85a4d80d3029ee92f044eb0a3ce60e190246cb23..6381ba7ec4e17df8dda28a5bd731c334c128b0d1 100644 (file)
@@ -102,9 +102,15 @@ class SALOME_PLUSIEURS_BASE_Panel(PLUSIEURS_BASE_Panel):
         if not valeur: # sélection dans salome        
             strSelection = ''
             
-            selection, msg = self.parent.appli.selectGroupFromSalome()
-            
-            
+            genea=self.node.item.get_genealogie()
+            kwType = None
+            for e in genea:
+                if "GROUP_NO" in e:
+                    kwType = "GROUP_NO"
+                if "GROUP_MA" in e:
+                    kwType = "GROUP_MA"            
+                
+            selection, msg = self.parent.appli.selectGroupFromSalome(kwType)
             if selection:
                 for oneSelection in selection:
                     strSelection +=str( oneSelection )