X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FTest%2FTest1064.py;fp=src%2FModelAPI%2FTest%2FTest1064.py;h=2ee908ba80d15f25856594626e4d844c9d1600a2;hb=ba8ee992b99097165d62ac9a93e842a47787216a;hp=c73dfd17d9633503c56894647420408ff1975c1f;hpb=812073961e85e752c543f871b7f47c979bf1427c;p=modules%2Fshaper.git diff --git a/src/ModelAPI/Test/Test1064.py b/src/ModelAPI/Test/Test1064.py index c73dfd17d..2ee908ba8 100644 --- a/src/ModelAPI/Test/Test1064.py +++ b/src/ModelAPI/Test/Test1064.py @@ -68,7 +68,7 @@ aSession.finishOperation() #========================================================================= # Make a plane in PartSet on lateral face of the Extrusion #========================================================================= -aSession.startOperation() +aSession.startOperation("Make Plane") aSession.setActiveDocument(aPartSet) aPlane = aPartSet.addFeature("Plane") aPlane.string("CreationMethod").setValue("PlaneByFaceAndDistance") @@ -79,7 +79,7 @@ aSession.finishOperation() #========================================================================= # Update the sketch edges in order to update the plane on the lateral face automatically #========================================================================= -aSession.startOperation() +aSession.startOperation("UpdateLine") geomDataAPI_Point2D(aLine1.attribute("EndPoint")).setValue(400, 0) geomDataAPI_Point2D(aLine2.attribute("StartPoint")).setValue(400, 0) aSession.finishOperation()