From: Renaud NEDELEC Date: Wed, 4 Nov 2015 10:10:38 +0000 (+0100) Subject: [PythonAPI / sketcher] end of fix after merge od Dev_1.5.0 X-Git-Tag: V_2.1.0~206^2~15 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=7e91e3e7e8e5f38b04b958c228c42726f7438108;p=modules%2Fshaper.git [PythonAPI / sketcher] end of fix after merge od Dev_1.5.0 --- diff --git a/src/PythonAPI/model/sketcher/sketch.py b/src/PythonAPI/model/sketcher/sketch.py index 75cf75842..b787f5e9f 100644 --- a/src/PythonAPI/model/sketcher/sketch.py +++ b/src/PythonAPI/model/sketcher/sketch.py @@ -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)