X-Git-Url: http://git.salome-platform.org/gitweb/?p=modules%2Fsmesh.git;a=blobdiff_plain;f=src%2FTools%2FVerima%2FScripts%2Fbb.py;fp=src%2FTools%2FVerima%2FScripts%2Fbb.py;h=0000000000000000000000000000000000000000;hp=43bd2318035dfeadc558816650289f6493da4a4c;hb=b1dc148ec5d80d275b75a73d5a2e6206df5b803e;hpb=19ca9f1ce58d0ac210eb93fde971398838fef563 diff --git a/src/Tools/Verima/Scripts/bb.py b/src/Tools/Verima/Scripts/bb.py deleted file mode 100644 index 43bd23180..000000000 --- a/src/Tools/Verima/Scripts/bb.py +++ /dev/null @@ -1,25 +0,0 @@ -# Get Information About Mesh by GetMeshIn -import salome -salome.salome_init() - -import SMESH, SALOMEDS -from salome.smesh import smeshBuilder -smesh = smeshBuilder.New(salome.myStudy) - -aMesh,aResult = smesh.CreateMeshesFromMED('/tmp/MASSIF.new.med') -print aResult, aMesh - -monMesh=aMesh[0] - -# Get Information About Group by GetMeshInfo -print "\nInformation about group by GetMeshInfo:" -lGroups=monMesh.GetGroups() -print lGroups -for g in lGroups : - print g.GetName() -info = smesh.GetMeshInfo(lGroups[0]) -keys = info.keys(); keys.sort() -for i in keys: - print " %s : %d" % ( i, info[i] ) - pass -#