]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_SWIG/ex04_cube5tetraHexa.py
Salome HOME
assure publishing all geom objects passed to hypotheses
[modules/smesh.git] / src / SMESH_SWIG / ex04_cube5tetraHexa.py
index 18d4900ffb7f9521ff35d404681743a7a7531e45..ae3ca45f5bbccb87d8be861c7ce4c6df170f2b11 100644 (file)
@@ -1,4 +1,5 @@
-#  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
+#  -*- coding: iso-8859-1 -*-
+#  Copyright (C) 2007-2010  CEA/DEN, EDF R&D, OPEN CASCADE
 #
 #  Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
 #  CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@ -19,6 +20,7 @@
 #
 #  See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 #
+
 # =======================================
 #
 from geompy import *
@@ -65,6 +67,8 @@ piece_id = addToStudy(piece, "ex04_cube5tetraHexa")
 # Meshing
 # =======
 
+smesh.SetCurrentStudy(salome.myStudy)
+
 # Create a hexahedral mesh
 # ------------------------