X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=doc%2Fsalome%2Fgui%2FGEOM%2Finput%2Ftui_notebook_geom.doc;h=38dac82550f1d91de0c90090773065d5d41cc567;hb=97d9c2c6b1eb1b8c37b74e9409ebdb89c42c8c27;hp=629ce632970b08244222113a567dc97d05440ea2;hpb=73555c78ebf12a1fdb85157b8e7934ad566ae90a;p=modules%2Fgeom.git diff --git a/doc/salome/gui/GEOM/input/tui_notebook_geom.doc b/doc/salome/gui/GEOM/input/tui_notebook_geom.doc index 629ce6329..38dac8255 100644 --- a/doc/salome/gui/GEOM/input/tui_notebook_geom.doc +++ b/doc/salome/gui/GEOM/input/tui_notebook_geom.doc @@ -3,27 +3,6 @@ \page tui_notebook_geom_page Using SALOME NoteBook \anchor tui_notebook_geom - -\code -import geompy -import salome -import salome_notebook -gg = salome.ImportComponentGUI("GEOM") - -# set variables -notebook = salome_notebook.notebook -notebook.set("Length", 150) -notebook.set("Width", 100) - -# create box -box = geompy.MakeBoxDXDYDZ("Length", "Width", 200) - -# add object in the study -id_box = geompy.addToStudy(box,"Box") - -# display the boxes -gg.createAndDisplayGO(id_box) -gg.setDisplayMode(id_box,1) -\endcode +\tui_script{notebook_geom.py} */