From 5a81ec850d8fd1fefffd99b508721d4cdea8f43f Mon Sep 17 00:00:00 2001 From: prascle Date: Tue, 16 Apr 2013 13:50:10 +0000 Subject: [PATCH] PR: Deprecation Warning more precise --- src/SMESH_SWIG/smesh.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index ab061e4c6..716cd5b86 100644 --- a/src/SMESH_SWIG/smesh.py +++ b/src/SMESH_SWIG/smesh.py @@ -104,11 +104,13 @@ with import SMESH, SALOMEDS from salome.smesh import smeshBuilder -smesh = smeshBuilder.New(theStudy) +smesh = smeshBuilder.New(salome.myStudy) you also need to modify some lines where smeshBuilder is used instead of smesh algo=smesh.xxxx ==> algo.smeshBuilder.xxxx +See also SMESH User's Guide for more details + =============================================================================== """ -- 2.39.2