Salome HOME
Tests fix.
[modules/shaper.git] / src / ModelAPI / Test / Test1064.py
index 934a0779c50c9da4a5a56d620f3d2549901004fc..c2078e61d7bd8eb9ecb37bac57a3a0bf0b029cc1 100644 (file)
@@ -71,9 +71,10 @@ aSession.finishOperation()
 aSession.startOperation("Make Plane")
 aSession.setActiveDocument(aPartSet)
 aPlane = aPartSet.addFeature("Plane")
-aPlane.string("CreationMethod").setValue("PlaneByFaceAndDistance")
+aPlane.string("creation_method").setValue("by_other_plane")
+aPlane.string("by_other_plane_option").setValue("by_distance_from_other")
+aPlane.selection("plane").selectSubShape("face", "Part_1/Extrusion_1_1/Generated_Face_3")
 aPlane.real("distance").setValue(0)
-aPlane.selection("planeFace").selectSubShape("face", "Part_1/Extrusion_1_1/Generated_Face_3")
 aSession.finishOperation()
 
 #=========================================================================