X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2Fextension%2Fbox.py;fp=src%2FPythonAPI%2Fextension%2Fbox.py;h=9d4d66ce9822695874efedcfdbc0d093cf513dca;hb=91e2f5d985dd2a38fdb1782caed59f80d8cada31;hp=c3ef9dcbcbe2c40af7f8dde370f332db0d104108;hpb=f98f887290d4e2b4bd6618389911e82b6b9674f3;p=modules%2Fshaper.git diff --git a/src/PythonAPI/extension/box.py b/src/PythonAPI/extension/box.py index c3ef9dcbc..9d4d66ce9 100644 --- a/src/PythonAPI/extension/box.py +++ b/src/PythonAPI/extension/box.py @@ -52,15 +52,15 @@ class Box(Interface): def setWidth(self, width): """B.setWidth(float) -- modify width attribute""" - self._fillAttribute(self._width, width) + self._width.setValue(width) pass def setLength(self, length): """B.setLength(float) -- modify length attribute""" - self._fillAttribute(self._length, length) + self._length.setValue(length) pass def setHeight(self, height): """B.setHeight(float) -- modify height attribute""" - self._fillAttribute(self._height, height) + self._height.setValue(height) pass