PR: Deprecation Warning more precise

This commit is contained in:
prascle 2013-04-16 13:50:10 +00:00
parent c7935f54be
commit 5a81ec850d

View File

@ -104,11 +104,13 @@ with
import SMESH, SALOMEDS import SMESH, SALOMEDS
from salome.smesh import smeshBuilder 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 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
=============================================================================== ===============================================================================
""" """