X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FPythonAPI%2FMakeBrick3.py;h=94fa252d20037501bc537b2cbb0f6e85423a4dea;hb=5f6c330407814e80848bb6b354fad1ff4c29ad28;hp=c3147800e30a7da400db53931df9a38c1cdd5157;hpb=fc1a9c802c59a0e853dc43125362e513b6f6358f;p=modules%2Fshaper.git diff --git a/src/PythonAPI/MakeBrick3.py b/src/PythonAPI/MakeBrick3.py index c3147800e..94fa252d2 100644 --- a/src/PythonAPI/MakeBrick3.py +++ b/src/PythonAPI/MakeBrick3.py @@ -2,23 +2,23 @@ # Author: Daniel Brunier-Coulin # ----------------------------- -import modeler +import model import extension # Initialisation -modeler.begin() -mypartset = modeler.moduleDocument() +model.begin() +mypartset = model.moduleDocument() # Creating a new Part -mypart = modeler.addPart(mypartset).document() +mypart = model.addPart(mypartset).document() # Creating the base of the box extension.addBox( mypart, 10, 20, 30 ) -modeler.end() +model.end()