Salome HOME
precise error message
[modules/smesh.git] / src / SMESH_SWIG / ex06_hole1boolean.py
index 3f2c6893d84418d6bb43df2382bf015b0e3838d1..ee62820fb9e7dc9d462fca0532ba1ca3c62a78cd 100644 (file)
@@ -1,3 +1,4 @@
+#  -*- coding: iso-8859-1 -*-
 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
@@ -117,6 +118,8 @@ piece_id = addToStudy(piece, "ex06_hole1boolean")
 # Meshing
 # =======
 
+smesh.SetCurrentStudy(salome.myStudy)
+
 # Create a hexahedral mesh
 # ------------------------