Salome HOME
Fix compilation error (conflict of OK name between OCCT Plate_Plate.hxx and GEOM...
[modules/geom.git] / doc / salome / examples / repairing_operations_ex06.py
index 5f6014e740ad0228ce6ee5875fe59167c47b4ea8..f6e7a5e31afa07372d69986321ff6cf110d9be01 100644 (file)
@@ -1,10 +1,10 @@
 # Sewing
 
 import salome, math
-salome.salome_init()
+salome.salome_init_without_session()
 from salome.geom import geomBuilder
 
-geompy = geomBuilder.New(salome.myStudy)
+geompy = geomBuilder.New()
 gg     = salome.ImportComponentGUI("GEOM")
 
 # create base points