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
MEDCoupling Memory output from SMESH engine now deal with fields too.
[modules/smesh.git]
/
src
/
SMESH_SWIG
/
SMESH_controls.py
diff --git
a/src/SMESH_SWIG/SMESH_controls.py
b/src/SMESH_SWIG/SMESH_controls.py
index f7479da0822cf802bd27bec3fef0e12f85b255b1..d081611f92cff71cc6246c1bb981909d31f23c0e 100644
(file)
--- a/
src/SMESH_SWIG/SMESH_controls.py
+++ b/
src/SMESH_SWIG/SMESH_controls.py
@@
-1,5
+1,5
@@
# -*- coding: iso-8859-1 -*-
# -*- coding: iso-8859-1 -*-
-# Copyright (C) 2007-20
16
CEA/DEN, EDF R&D, OPEN CASCADE
+# Copyright (C) 2007-20
21
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
@@
-30,7
+30,7
@@
import SMESH_mechanic
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
import SMESH, SALOMEDS
from salome.smesh import smeshBuilder
-smesh = smeshBuilder.New(
salome.myStudy
)
+smesh = smeshBuilder.New()
mesh = SMESH_mechanic.mesh
# ---- Criterion : AREA > 100
mesh = SMESH_mechanic.mesh
# ---- Criterion : AREA > 100
@@
-141,4
+141,4
@@
print("Criterion: Element Diameter 2D > 10 Nb = ", len( anIds ))
#print anIds[ i ]
#print anIds[ i ]
-salome.sg.updateObjBrowser(
True
)
+salome.sg.updateObjBrowser()