From 8411e04ba38beb460cd644fae532b3bdac3693f0 Mon Sep 17 00:00:00 2001 From: azv Date: Fri, 9 Apr 2021 12:32:33 +0300 Subject: [PATCH] Update 'TestRectangle.py' in respect to the new version --- src/SketchPlugin/Test/TestRectangle.py | 1 + 1 file changed, 1 insertion(+) 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.) -- 2.39.2