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
Update copyright info (2010->2011)
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_test1_AndDisplay.py
diff --git
a/src/SMESH_SWIG/SMESH_test1_AndDisplay.py
b/src/SMESH_SWIG/SMESH_test1_AndDisplay.py
index 90ee3a5f9c7f7f74648f5d3e3ed6c3de582ef757..27cefdb30094adf3e8bafb399a1fff7b086b4493 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_test1_AndDisplay.py
+++ b/
src/SMESH_SWIG/SMESH_test1_AndDisplay.py
@@
-1,6
+1,5
@@
-#! /usr/bin/python
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-20
08
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
11
CEA/DEN, EDF R&D, OPEN CASCADE
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
#
# Copyright (C) 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
# CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
@@
-21,6
+20,7
@@
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
#
# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
#
+
# File : SMESH_test1.py
# Module : SMESH
#
# File : SMESH_test1.py
# Module : SMESH
#
@@
-61,6
+61,8
@@
idedge = geompy.addToStudyInFather(face, edge, name)
# ---- SMESH
# ---- SMESH
+smesh.SetCurrentStudy(salome.myStudy)
+
# ---- Init a Mesh with the box
mesh = smesh.Mesh(box, "Meshbox")
# ---- Init a Mesh with the box
mesh = smesh.Mesh(box, "Meshbox")