Salome HOME
- Modifing Geometry and Mesh Python scripts from SALOME 6 and before
authormpa <mpa@opencascade.com>
Tue, 19 Nov 2013 12:08:40 +0000 (12:08 +0000)
committermpa <mpa@opencascade.com>
Tue, 19 Nov 2013 12:08:40 +0000 (12:08 +0000)
src/SMESH_SWIG/smesh.py

index 9fb73ab..ed09eab 100644 (file)
@@ -32,7 +32,9 @@
 import salome
 from salome import *
 
-import geompy
+import GEOM
+from salome.geom import geomBuilder
+geompy = geomBuilder.New(salome.myStudy)
 import SMESH, SALOMEDS
 from salome.smesh import smeshBuilder