From: prascle Date: Tue, 16 Apr 2013 13:50:10 +0000 (+0000) Subject: PR: Deprecation Warning more precise X-Git-Tag: V7_2_0rc1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=5a81ec850d8fd1fefffd99b508721d4cdea8f43f;p=modules%2Fsmesh.git PR: Deprecation Warning more precise --- 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 + =============================================================================== """