From: asl Date: Fri, 14 Oct 2016 06:19:48 +0000 (+0300) Subject: shape groups are also included into the "regions" table X-Git-Tag: v1.6~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a492c7c60c41b59fc3e25d85e2691d2d4d580ee9;p=modules%2Fhydrosolver.git shape groups are also included into the "regions" table --- diff --git a/src/salome_hydro/interpolz_gui.py b/src/salome_hydro/interpolz_gui.py index 4d88c38..5b68179 100644 --- a/src/salome_hydro/interpolz_gui.py +++ b/src/salome_hydro/interpolz_gui.py @@ -43,6 +43,12 @@ def get_hydro_regions( calc_case_name ): for r in regions: rname = r.GetName() regions_names.append( str(rname) ) + + shape_groups = case.GetGeometryGroups() + for sg in shape_groups: + sgname = sg.GetName() + regions_names.append( sgname ) + return regions_names else: return []