Salome HOME
0020623: EDF 1209 SMESH: Load script/execfile add the objects in the wrong study
[modules/smesh.git] / src / SMESH_SWIG / ex18_dome2.py
index fc78722d7096d00943b9b2ab9f1608c32d4ed862..85df8ffe49b459b0a4acd6cf19f803313e4eeae0 100644 (file)
@@ -118,6 +118,8 @@ piece_id = addToStudy(piece, "ex18_dome2")
 # Maillage
 # ========
 
+smesh.SetCurrentStudy(salome.myStudy)
+
 # Maillage hexahedrique
 # ---------------------