]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/ModelAPI/Test/TestSelectorShell.py
Salome HOME
Fix the python dump of whole-results groups for specific test-case.
[modules/shaper.git] / src / ModelAPI / Test / TestSelectorShell.py
index a699cbdb34eee43e5f8e384821bef95be919b43c..6d8f1c8e26dd22b315a84c971df4ba89d4afe47f 100644 (file)
@@ -31,6 +31,7 @@ aBoxResult = Box_1.feature().results()[0]
 aShell = GeomAPI_ShapeExplorer(aBoxResult.shape(), GeomAPI_Shape.SHELL)
 aGroup = Part_1_doc.addFeature("Group")
 aGroup.selectionList("group_list").append(aBoxResult, aShell.current())
+aGroup.selectionList("group_list").setSelectionType("SHELL") # to compute the shape for the whole result selection correctly
 model.end()
 
 # check that the resulting group is correct