Salome HOME
Debug of Box macro feature to the updated architecture
[modules/shaper.git] / src / PythonAPI / modeler / sketcher.py
index 5aa7b54adfcb6800188f9afdad73c90e896f8163..b0b3376c53d571ca55763dc4dc5126c027cf7cb8 100644 (file)
@@ -122,6 +122,7 @@ class Sketch():
     constraint = self.my.addFeature("SketchConstraintLength")
     constraint.data().refattr("ConstraintEntityA").setObject(line)
     constraint.data().real("ConstraintValue").setValue(length)
+    self.my.execute()
     return constraint
 
   def setRadius (self, circle, radius):