From: azv Date: Fri, 9 Apr 2021 09:32:33 +0000 (+0300) Subject: Update 'TestRectangle.py' in respect to the new version X-Git-Tag: V9_7_0a1~4 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=8411e04ba38beb460cd644fae532b3bdac3693f0;p=modules%2Fshaper.git Update 'TestRectangle.py' in respect to the new version --- diff --git a/src/SketchPlugin/Test/TestRectangle.py b/src/SketchPlugin/Test/TestRectangle.py index 5c0a3f0a5..9ad9fc582 100644 --- a/src/SketchPlugin/Test/TestRectangle.py +++ b/src/SketchPlugin/Test/TestRectangle.py @@ -70,6 +70,7 @@ aSession.finishOperation() #========================================================================= aSession.startOperation() aRectangle = aSketchFeature.addFeature("SketchRectangle") +aRectangle.string("RectangleType").setValue("RectangleTypeByCorners") aStartCorner = geomDataAPI_Point2D(aRectangle.attribute("RectStartPoint")) aEndCorner = geomDataAPI_Point2D(aRectangle.attribute("RectEndPoint")) aStartCorner.setValue(10., 10.)