X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2Fextension%2Fbox.py;h=9d4d66ce9822695874efedcfdbc0d093cf513dca;hb=f6bc37f4a5d4f269f44528c7ec946fc0c474d673;hp=6808cd4412632a520c1ecf8ff5b6d7aa79de4f14;hpb=ccba1627ced32120b894d5731f9e960635c87bc1;p=modules%2Fshaper.git diff --git a/src/PythonAPI/extension/box.py b/src/PythonAPI/extension/box.py index 6808cd441..9d4d66ce9 100644 --- a/src/PythonAPI/extension/box.py +++ b/src/PythonAPI/extension/box.py @@ -47,20 +47,20 @@ class Box(Interface): self.setLength(dy) self.setHeight(dz) - self._execute() + self.execute() pass def setWidth(self, width): """B.setWidth(float) -- modify width attribute""" - self._fill_attribute(self._width, width) + self._width.setValue(width) pass def setLength(self, length): """B.setLength(float) -- modify length attribute""" - self._fill_attribute(self._length, length) + self._length.setValue(length) pass def setHeight(self, height): """B.setHeight(float) -- modify height attribute""" - self._fill_attribute(self._height, height) + self._height.setValue(height) pass