]> SALOME platform Git repositories - modules/shaper.git/commitdiff
Salome HOME
[PythonAPI / sketcher] end of fix after merge od Dev_1.5.0
authorRenaud NEDELEC <renaud.nedelec@opencascade.com>
Wed, 4 Nov 2015 10:10:38 +0000 (11:10 +0100)
committerRenaud NEDELEC <renaud.nedelec@opencascade.com>
Wed, 4 Nov 2015 10:10:38 +0000 (11:10 +0100)
src/PythonAPI/model/sketcher/sketch.py

index 75cf7584254bed76f061a899e08eb9160d00b2c1..b787f5e9f636c5d5e1c8c20f34a75205dcffbbdf 100644 (file)
@@ -246,8 +246,7 @@ class Sketch(Interface):
         """Set a fillet constraint between the 2 given lines with the given
         filleting radius."""
         constraint = self._feature.addFeature("SketchConstraintFillet")
-        constraint.data().reflist("ConstraintEntityA").clear
-        constraint.data().reflist("ConstraintEntityA").append(line_1)
+        constraint.data().refattr("ConstraintEntityA").setObject(line_1)
         constraint.data().reflist("ConstraintEntityB").clear
         constraint.data().reflist("ConstraintEntityB").append(line_1)