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
precise error message
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex12_grid17partition.py
diff --git
a/src/SMESH_SWIG/ex12_grid17partition.py
b/src/SMESH_SWIG/ex12_grid17partition.py
index 4458c48f009cd21b1319234fbcc289f93b25a4e6..ca95b25de24992f8733ff130bb628fa9eca390d8 100644
(file)
--- a/
src/SMESH_SWIG/ex12_grid17partition.py
+++ b/
src/SMESH_SWIG/ex12_grid17partition.py
@@
-1,4
+1,3
@@
-#! /usr/bin/python
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
#
@@
-117,6
+116,8
@@
piece_id = addToStudy(piece, "ex12_grid17partition")
# Meshing
# =======
+smesh.SetCurrentStudy(salome.myStudy)
+
# Create a hexahedral mesh
# ------------------------