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
Issue 0020701: EDF SMESH : GetName Method of smeshDC.py
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
ex21_lamp.py
diff --git
a/src/SMESH_SWIG/ex21_lamp.py
b/src/SMESH_SWIG/ex21_lamp.py
index 971ecbe1f2dfa173211e6ef7351c44c9266688ae..c92b77eb15d5cd88c9142726fa60a0e71f7d4434 100644
(file)
--- a/
src/SMESH_SWIG/ex21_lamp.py
+++ b/
src/SMESH_SWIG/ex21_lamp.py
@@
-1,4
+1,3
@@
-#! /usr/bin/python
# -*- coding: iso-8859-1 -*-
# Copyright (C) 2007-2008 CEA/DEN, EDF R&D, OPEN CASCADE
#
@@
-94,6
+93,8
@@
UnionIDs(group, faces)
# Create a mesh
# =============
+smesh.SetCurrentStudy(salome.myStudy)
+
# Define a mesh on a geometry
# ---------------------------