mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-27 09:50:34 +05:00
-algo=smesh.xxxx ==> algo.smeshBuilder.xxxx
+algo=smesh.xxxx ==> algo=smeshBuilder.xxxx
This commit is contained in:
parent
f4d0371a70
commit
c965dca966
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user