]> SALOME platform Git repositories - modules/geom.git/blobdiff - doc/salome/examples/basic_operations_ex03.py
Salome HOME
bos #29468: Advanced geometry features: distance Edge-Edge & Face-Face
[modules/geom.git] / doc / salome / examples / basic_operations_ex03.py
old mode 100755 (executable)
new mode 100644 (file)
index 5fa0e9e..e49a0c7
@@ -1,10 +1,10 @@
 # Restore presentation parameters and sub-shapes
 
 import salome
-salome.salome_init()
+salome.salome_init_without_session()
 import GEOM
 from salome.geom import geomBuilder
-geompy = geomBuilder.New(salome.myStudy)
+geompy = geomBuilder.New()
 import SALOMEDS
 
 # create a box and a cylinder