From 77f8dff1f7813cdee040fe756d7d9fa4620f2921 Mon Sep 17 00:00:00 2001 From: Paul RASCLE Date: Mon, 9 Jul 2018 13:42:38 +0200 Subject: [PATCH] update test hybriddemo: remove study --- doc/salome/examples/hybriddemo.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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.) -- 2.39.2