diff --git a/src/Mod/Fem/femexamples/buckling_platebuckling.py b/src/Mod/Fem/femexamples/buckling_platebuckling.py index d0d85a2b5de9..0c029412cf3d 100644 --- a/src/Mod/Fem/femexamples/buckling_platebuckling.py +++ b/src/Mod/Fem/femexamples/buckling_platebuckling.py @@ -118,13 +118,13 @@ def setup(doc=None, solvertype="ccxtools"): # constraints displacement con_disp_x = ObjectsFem.makeConstraintDisplacement(doc, "ConstraintDisplacement_X") con_disp_x.References = [(geom_obj, "Edge1")] - con_disp_x.xFix = True + con_disp_x.xDisplacement = 0 con_disp_x.xFree = False analysis.addObject(con_disp_x) con_disp_y = ObjectsFem.makeConstraintDisplacement(doc, "ConstraintDisplacement_Y") con_disp_y.References = [(geom_obj, "Vertex1")] - con_disp_y.yFix = True + con_disp_y.yDisplacement = 0 con_disp_y.yFree = False analysis.addObject(con_disp_y) @@ -135,7 +135,7 @@ def setup(doc=None, solvertype="ccxtools"): (geom_obj, "Edge3"), (geom_obj, "Edge4"), ] - con_disp_z.zFix = True + con_disp_z.zDisplacement = 0 con_disp_z.zFree = False analysis.addObject(con_disp_z)