]> SALOME platform Git repositories - modules/smesh.git/commitdiff
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 9fb73ab1168d82e16a2cda765c513c8f1f69b7d2..ed09eab903033c9c076f6ec012af9241b3e33046 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