]> SALOME platform Git repositories - plugins/hybridplugin.git/commitdiff
Salome HOME
update test hybriddemo: remove study
authorPaul RASCLE <paul.rascle@edf.fr>
Mon, 9 Jul 2018 11:42:38 +0000 (13:42 +0200)
committerPaul RASCLE <paul.rascle@edf.fr>
Mon, 9 Jul 2018 11:42:38 +0000 (13:42 +0200)
doc/salome/examples/hybriddemo.py

index e3a4a2cedccd76c2f938b57e415c39a1c9d2c5f6..ab7f5c1bfc2df9e550e5f5cd072e8e5bba020c64 100644 (file)
@@ -3,11 +3,11 @@ import salome
 salome.salome_init()
 import GEOM
 from salome.geom import geomBuilder
-geompy = geomBuilder.New(salome.myStudy)
+geompy = geomBuilder.New()
 
 import SMESH, SALOMEDS
 from salome.smesh import smeshBuilder
-smesh =  smeshBuilder.New(salome.myStudy)
+smesh =  smeshBuilder.New()
 
 # create a box
 box = geompy.MakeBoxDXDYDZ(200., 200., 200.)