1 # Get Information About Mesh by GetMeshIn
6 from salome.smesh import smeshBuilder
7 smesh = smeshBuilder.New(salome.myStudy)
9 aMesh,aResult = smesh.CreateMeshesFromMED('/tmp/MASSIF.new.med')
14 # Get Information About Group by GetMeshInfo
15 print "\nInformation about group by GetMeshInfo:"
16 lGroups=monMesh.GetGroups()
20 info = smesh.GetMeshInfo(lGroups[0])
21 keys = info.keys(); keys.sort()
23 print " %s : %d" % ( i, info[i] )