Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge multi-study removal branch.
[modules/smesh.git]
/
doc
/
salome
/
examples
/
quality_controls_ex05.py
diff --git
a/doc/salome/examples/quality_controls_ex05.py
b/doc/salome/examples/quality_controls_ex05.py
index cbd2178391639e24954293f4a1508252f8938321..bf6d7fa4c4f44b960c5307f3918356c879ebf29e 100644
(file)
--- a/
doc/salome/examples/quality_controls_ex05.py
+++ b/
doc/salome/examples/quality_controls_ex05.py
@@
-5,11
+5,11
@@
import salome
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
salome.salome_init()
import GEOM
from salome.geom import geomBuilder
-geompy = geomBuilder.New(
salome.myStudy
)
+geompy = geomBuilder.New()
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
-smesh = smeshBuilder.New(
salome.myStudy
)
+smesh = smeshBuilder.New()
# create box
box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
# create box
box = geompy.MakeBox(0., 0., 0., 100., 200., 300.)
@@
-51,4
+51,4
@@
for i in range(len(anNodeIds)):
pass
print ""
pass
print ""
-salome.sg.updateObjBrowser(
True
)
+salome.sg.updateObjBrowser()