I have a solid Hexagon 1m x 1.2 m x 0.8m.(LxB*H) I need to mesh it with 10 hexa element division in each direction. ie. total 1000 hexa element to mesh the solid. i need to write  a macro to read the dimension L,B,H and mesh the cube so that each direction element division is preset to 10 divisions and always the total number of element is 1000 Nos. Thanking You