]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/FiltersPlugin/Test/TestFilter_OnPlaneSide_Plane.py
Salome HOME
Change the paradigm of versioning of Boolean Operations on the Python API level.
[modules/shaper.git] / src / FiltersPlugin / Test / TestFilter_OnPlaneSide_Plane.py
index 0656e19939cb1b722dfae140c850fd0f42ed30ae..39897be2a8c4ea1a14a065dacfd3c66f0dc8a672 100644 (file)
@@ -26,7 +26,7 @@ Part_1 = model.addPart(partSet)
 Part_1_doc = Part_1.document()
 Box_1 = model.addBox(Part_1_doc, 10, 10, 10)
 Plane_4 = model.addPlane(Part_1_doc, model.selection("FACE", "Box_1_1/Left"), model.selection("FACE", "Box_1_1/Right"))
-Partition_1 = model.addPartition(Part_1_doc, [model.selection("SOLID", "Box_1_1"), model.selection("FACE", "Plane_1")], 20190506)
+Partition_1 = model.addPartition(Part_1_doc, [model.selection("SOLID", "Box_1_1"), model.selection("FACE", "Plane_1")], keepSubResults = True)
 Cylinder_1 = model.addCylinder(Part_1_doc, model.selection("VERTEX", "PartSet/Origin"), model.selection("EDGE", "PartSet/OZ"), 5, 10)
 Translation_1 = model.addTranslation(Part_1_doc, [model.selection("SOLID", "Cylinder_1_1")], model.selection("EDGE", "PartSet/OX"), 20)
 Sketch_1 = model.addSketch(Part_1_doc, model.standardPlane("XOY"))