]> SALOME platform Git repositories - modules/smesh.git/blobdiff - src/SMESH_SWIG/SMESH_fixation_hexa.py
Salome HOME
Issue 0020701: EDF SMESH : GetName Method of smeshDC.py
[modules/smesh.git] / src / SMESH_SWIG / SMESH_fixation_hexa.py
index f3f027a067d87e2619f9d7dc31c2c733854fb405..d556ffd23ec078348a96d09229a7876f3e579294 100644 (file)
@@ -1,4 +1,3 @@
-#! /usr/bin/python
 #  -*- coding: iso-8859-1 -*-
 #  Copyright (C) 2007-2008  CEA/DEN, EDF R&D, OPEN CASCADE
 #
@@ -46,6 +45,7 @@ status = geompy.CheckShape(compshell)
 print " check status ", status
 
 ### ---------------------------- SMESH --------------------------------------
+smesh.SetCurrentStudy(salome.myStudy)
 
 # ---- init a Mesh with the compshell
 shape_mesh = salome.IDToObject( idcomp  )