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
/
ex01_cube2build.py
diff --git
a/src/SMESH_SWIG/ex01_cube2build.py
b/src/SMESH_SWIG/ex01_cube2build.py
index 34bb6e39d575338774e82cd4fb08e9ce8a468f58..3c1da5aabeac4e0041d68e8b45f33a985201cf4e 100644
(file)
--- a/
src/SMESH_SWIG/ex01_cube2build.py
+++ b/
src/SMESH_SWIG/ex01_cube2build.py
@@
-287,6
+287,8
@@
piece_id = addToStudy(piece, "ex01_cube2build")
# Meshing
# =======
+smesh.SetCurrentStudy(salome.myStudy)
+
# Create hexahedrical mesh on piece
# ---------------------------------