]> SALOME platform Git repositories - modules/shaper.git/blobdiff - src/PythonAPI/examples/Platine.py
Salome HOME
Rename setRigid to setFixed for C++HighAPI
[modules/shaper.git] / src / PythonAPI / examples / Platine.py
index 8a11fdf2badbbc1bac183b2fad6dce25625636e2..c84684334f4e982325f2b277427adb5a6478c142 100644 (file)
@@ -36,7 +36,7 @@ def vertical_body():
     left, top, right, bottom = model.addPolygon(sketch, *geom_points)
 
     # Set constraints
-    sketch.setRigid(left.startPoint())
+    sketch.setFixed(left.startPoint())
 
     sketch.setHorizontal(bottom)
     sketch.setHorizontal(top)