Salome HOME
Unit tests:
[modules/shaper.git] / src / PythonAPI / model / sketcher / sketch.py
index 9dabe0a9df299d520accd21d387f99117c5a1d45..5303f7df5c335e67554367d39c8ebc4241666953 100644 (file)
@@ -320,7 +320,7 @@ class Sketch(Interface):
             constraint.data().reflist("ConstraintEntityB").append(line_2)
         elif len(args) == 2:
             point, radius = args
-            self._fillAttribute(constraint.refattr("ConstraintEntityA"), point)
+            self._fillAttribute(constraint.data().refattrlist("ConstraintEntityA"), [point])
             self._fillAttribute(constraint.real("ConstraintValue"), radius)
         self.execute()
         return constraint