From: eap Date: Wed, 24 Apr 2013 12:13:36 +0000 (+0000) Subject: -algo=smesh.xxxx ==> algo.smeshBuilder.xxxx X-Git-Tag: V7_2_0~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=c965dca966db41d603435218bfb840c830679024;p=modules%2Fsmesh.git -algo=smesh.xxxx ==> algo.smeshBuilder.xxxx +algo=smesh.xxxx ==> algo=smeshBuilder.xxxx --- diff --git a/src/SMESH_SWIG/smesh.py b/src/SMESH_SWIG/smesh.py index 716cd5b86..9fb73ab11 100644 --- a/src/SMESH_SWIG/smesh.py +++ b/src/SMESH_SWIG/smesh.py @@ -96,19 +96,19 @@ The following changes in your scripts are required to avoid this message: replace ------- -import smesh, SMESH, SALOMEDS +import smesh, SMESH smesh.SetCurrentStudy(theStudy) with ---- -import SMESH, SALOMEDS +import SMESH from salome.smesh import smeshBuilder 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 +algo=smesh.xxxx ==> algo=smeshBuilder.xxxx See also SMESH User's Guide for more details