Salome HOME
precise error message
[modules/smesh.git] / src / SMESH_SWIG / PAL_MESH_043_3D.py
index 4facc7a45d5cef781e189f58777f0a59260d57c6..009ca3991f29168490320f42e76b6d9fbdb06655 100755 (executable)
@@ -1,4 +1,3 @@
-#! /usr/bin/python
 #  -*- coding: iso-8859-1 -*-
 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
 #
@@ -51,6 +50,7 @@ idcircle = geompy.addToStudy(circle, "Circle")
 idface   = geompy.addToStudy(face,   "Circular face")
 
 
+smesh.SetCurrentStudy(salome.myStudy)
 
 # init a Mesh with the circular face
 mesh1 = smesh.Mesh(face, "Mesh on circular face")