X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2Fextension%2Fbox.py;h=9d4d66ce9822695874efedcfdbc0d093cf513dca;hb=f6bc37f4a5d4f269f44528c7ec946fc0c474d673;hp=c3ef9dcbcbe2c40af7f8dde370f332db0d104108;hpb=1b93f1881c5fec599aa79707f93c84dd9c287bc0;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