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
0020623: EDF 1209 SMESH: Load script/execfile add the objects in the wrong study
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex07_hole1partition.py
diff --git
a/src/SMESH_SWIG/ex07_hole1partition.py
b/src/SMESH_SWIG/ex07_hole1partition.py
index 4ca5c481db38baecb5723a2def372813e21981fa..ab55f37eed9ffdbbba2b31a83e93aed0280fed84 100644
(file)
--- a/
src/SMESH_SWIG/ex07_hole1partition.py
+++ b/
src/SMESH_SWIG/ex07_hole1partition.py
@@
-82,6
+82,8
@@
piece_id = addToStudy(piece, "ex07_hole1partition")
# Meshing
# =======
+smesh.SetCurrentStudy(salome.myStudy)
+
# Create a hexahedral mesh
# ------------------------