4 salome.salome_init_without_session()
6 from salome.geom import geomBuilder
7 geompy = geomBuilder.New()
10 check_box = geompy.MakeBoxDXDYDZ(200, 200, 200)
12 # build all possible propagation groups
13 listChains = geompy.Propagate(check_box)
15 # add objects in the study
16 geompy.addToStudy(check_box, "Box")
18 for chain in listChains:
19 geompy.addToStudyInFather(check_box, chain, "propagation chain " + repr(ii))
23 salome.sg.updateObjBrowser()