]> SALOME platform Git repositories - modules/hydrosolver.git/commitdiff
Salome HOME
shape groups are also included into the "regions" table
authorasl <asl@opencascade.com>
Fri, 14 Oct 2016 06:19:48 +0000 (09:19 +0300)
committerasl <asl@opencascade.com>
Fri, 14 Oct 2016 06:19:48 +0000 (09:19 +0300)
src/salome_hydro/interpolz_gui.py

index 4d88c388699d56a25a23844aa5b0f53430891ecb..5b68179ebfc82185aab9bf8500812f729eef137a 100644 (file)
@@ -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 []