Salam Asad, You can read dimensions directly, without VTK. Just open the file, with C++ functions and read dimensions. may you can find better solution, but it is not bad. regard, Vahid