10 Use the SMESH component of SALOME::
13 m = hexablock.mesh(name, doc)
15 Export to a MED file::
17 m.ExportMED("/tmp/mesh.med")
19 Get some information about the mesh::
21 print "Number of hexahedra: ", m.NbHexas()
22 print "Number of quadrangles: ", m.NbQuadrangles()
23 print "Number of segments: ", m.NbEdges()
24 print "Number of nodes: ", m.NbNodes()
26 GUI command: :ref:`guimesh`