From: Paul RASCLE Date: Mon, 9 Jul 2018 11:42:38 +0000 (+0200) Subject: update test hybriddemo: remove study X-Git-Tag: SHAPER_V9_1_0RC1~1 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=77f8dff1f7813cdee040fe756d7d9fa4620f2921;p=plugins%2Fhybridplugin.git update test hybriddemo: remove study --- diff --git a/doc/salome/examples/hybriddemo.py b/doc/salome/examples/hybriddemo.py index e3a4a2c..ab7f5c1 100644 --- a/doc/salome/examples/hybriddemo.py +++ b/doc/salome/examples/hybriddemo.py @@ -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.)