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
Merge multi-study removal branch.
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_fixation_tetra.py
diff --git
a/src/SMESH_SWIG/SMESH_fixation_tetra.py
b/src/SMESH_SWIG/SMESH_fixation_tetra.py
index be41476e63ace6a5f2755c7f94c3f61d9ea319aa..dd661d969728a84989950b02bdbe6ccc7aa53d15 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_fixation_tetra.py
+++ b/
src/SMESH_SWIG/SMESH_fixation_tetra.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(
)
# ---- init a Mesh with the compshell
# ---- init a Mesh with the compshell
@@
-123,4
+123,4
@@
if ret != 0:
else:
print "problem when computing the mesh"
else:
print "problem when computing the mesh"
-salome.sg.updateObjBrowser(
1
)
+salome.sg.updateObjBrowser()