CST - Export mesh properties with macro

Dear all, 

I am using CST Studio Suite 2022 and would like to automatically export the following (tetrahedral) mesh properties to a text file.

  1. Number of tetrahedrons (Mesh.GetNumberOfMeshCells)
  2. Minimum edge length (Mesh.GetMinimumEdgeLength)
  3. Maximum edge length (Mesh.GetMaximumEdgeLength)
  4. Minimum tetrahedron quality
  5. Maximum tetrahedron quality
  6. Average tetrahedron quality


a) With a VBA macro I can access the parameters 1 to 3 as noted above in brackets. But how can I access the parameters 4 to 6?

b) How can I export them into a text file? Preferentially with being able to set the save path.

Thanks.