3 \page tui_notebook_geom_page Using SALOME NoteBook
5 \anchor tui_notebook_geom
10 import salome_notebook
11 gg = salome.ImportComponentGUI("GEOM")
14 notebook = salome_notebook.notebook
15 notebook.set("Length", 150)
16 notebook.set("Width", 100)
19 box = geompy.MakeBoxDXDYDZ("Length", "Width", 200)
21 # add object in the study
22 id_box = geompy.addToStudy(box,"Box")
25 gg.createAndDisplayGO(id_box)
26 gg.setDisplayMode(id_box,1)