Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Windows support: move test scripts to lib/python<version>/site-packages/salome folder...
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_fixation_netgen.py
diff --git
a/src/SMESH_SWIG/SMESH_fixation_netgen.py
b/src/SMESH_SWIG/SMESH_fixation_netgen.py
index c8c00f67fc0da85e058463ab9655a369fb49eeae..ec532d57f7bb69714dbb6a1a422b52cc211f8792 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_fixation_netgen.py
+++ b/
src/SMESH_SWIG/SMESH_fixation_netgen.py
@@
-30,7
+30,7
@@
import SMESH_fixation
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
-smesh = smeshBuilder.New(
salome.myStudy
)
+smesh = smeshBuilder.New()
compshell = SMESH_fixation.compshell
idcomp = SMESH_fixation.idcomp
compshell = SMESH_fixation.compshell
idcomp = SMESH_fixation.idcomp
@@
-50,7
+50,7
@@
status = geompy.CheckShape(compshell)
print(" check status ", status)
### ---------------------------- SMESH --------------------------------------
print(" check status ", status)
### ---------------------------- SMESH --------------------------------------
-smesh.
SetCurrentStudy(salome.myStudy
)
+smesh.
UpdateStudy(
)
print("-------------------------- create Mesh, algorithm, hypothesis")
print("-------------------------- create Mesh, algorithm, hypothesis")
@@
-76,4
+76,4
@@
if ret != 0:
else:
print("problem when computing the mesh")
else:
print("problem when computing the mesh")
-salome.sg.updateObjBrowser(
True
)
+salome.sg.updateObjBrowser()