From 7e91e3e7e8e5f38b04b958c228c42726f7438108 Mon Sep 17 00:00:00 2001 From: Renaud NEDELEC Date: Wed, 4 Nov 2015 11:10:38 +0100 Subject: [PATCH] [PythonAPI / sketcher] end of fix after merge od Dev_1.5.0 --- src/PythonAPI/model/sketcher/sketch.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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) -- 2.39.2