]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/SketchAPI/Test/TestSketch.py
Salome HOME
Task #3235: Projection without link to source shape
[modules/shaper.git] / src / SketchAPI / Test / TestSketch.py
index d1531e2bb505ed535e18ed6d519cef7f5da389e7..9718c80b24c40ef1699482691c1fd91072f34dce 100644 (file)
@@ -173,7 +173,7 @@ class SketchTestCase(unittest.TestCase):
     def test_arc_by_projection(self):
         """ Test 10. Create arc by projection of external feature
         """
-        self.sketch.addProjection("[Cylinder_2_1/Face_1][Cylinder_2_1/Face_3]")
+        self.sketch.addProjection(model.selection("EDGE", "[Cylinder_2_1/Face_1][Cylinder_2_1/Face_3]"))
         model.do()
         anArc = SketchAPI.SketchAPI_Arc(model.lastSubFeature(self.sketch, "SketchArc"))