Salome HOME
PAL16713 (mesh.GetElementsByType : 'module' object has no attribute 'SMESH')
authoreap <eap@opencascade.com>
Thu, 9 Aug 2007 13:21:34 +0000 (13:21 +0000)
committereap <eap@opencascade.com>
Thu, 9 Aug 2007 13:21:34 +0000 (13:21 +0000)
+import SMESH # necessary for back compatibility
 from   SMESH import *

src/SMESH_SWIG/smesh.py

index 2a5a4b4d16c59343f46f0bed7219c3534202a556..0e77b345966c77210f765c8d59d01251bc8047c4 100644 (file)
@@ -29,6 +29,7 @@
 import salome
 import geompy
 
+import SMESH # necessary for back compatibility
 from   SMESH import *
 
 import StdMeshers