-subShellList=geompy.SubShapeAll(shape,ShapeTypeShell)
-subFaceList=geompy.SubShapeAll(shape,ShapeTypeFace)
-subEdgeList=geompy.SubShapeAll(shape,ShapeTypeEdge)
+subShellList = geompy.SubShapeAll(shape, geompy.ShapeType["SHELL"])
+subFaceList = geompy.SubShapeAll(shape, geompy.ShapeType["FACE"])
+subEdgeList = geompy.SubShapeAll(shape, geompy.ShapeType["EDGE"])