From: Pascale Noyret Date: Tue, 12 Dec 2006 13:23:56 +0000 (+0000) Subject: PN : bug mineur selection (cf AMA) X-Git-Tag: V1_11b4~13 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=f0f708c0a2097e6ba1209c5bec47f7ce38bd599f;p=tools%2Feficas.git PN : bug mineur selection (cf AMA) --- diff --git a/Editeur/panelsSalome.py b/Editeur/panelsSalome.py index 85a4d80d..6381ba7e 100644 --- a/Editeur/panelsSalome.py +++ b/Editeur/panelsSalome.py @@ -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 )