Salome HOME
PAL9022. enable creation of groups on SHELLs T2_2_4a3
authoreap <eap@opencascade.com>
Thu, 9 Jun 2005 07:03:58 +0000 (07:03 +0000)
committereap <eap@opencascade.com>
Thu, 9 Jun 2005 07:03:58 +0000 (07:03 +0000)
src/SMESH_SWIG/smesh.py

index 2fb7de2..2e96ee2 100644 (file)
@@ -431,6 +431,8 @@ class Mesh:
             type = SMESH.FACE
         elif tgeo == "SOLID":
             type = SMESH.VOLUME
+        elif tgeo == "SHELL":
+            type = SMESH.VOLUME
         elif tgeo == "COMPOUND":
             tgeo = geompy.GetType(grp)
             if tgeo == geompy.ShapeType["VERTEX"]: