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_hexa.py
diff --git
a/src/SMESH_SWIG/SMESH_fixation_hexa.py
b/src/SMESH_SWIG/SMESH_fixation_hexa.py
index 7d9245c3b5f908379f52129fed7dcb0f284fbde5..0f464cf4259c10df0c3a05d41b8f025daa30f794 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_fixation_hexa.py
+++ b/
src/SMESH_SWIG/SMESH_fixation_hexa.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
shape_mesh = salome.IDToObject( idcomp )
# ---- init a Mesh with the compshell
shape_mesh = salome.IDToObject( idcomp )
@@
-99,4
+99,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()