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