.. _read-example:

##############
Read VTFx File
##############

.. image:: ../../../images/vtfx/read_example.png
    :height: 250px
    :align: center

This example reads a VTFx file and prints the content of the file to the console. 

It outputs meta data on the file, database, case and all blocks. It also lists data content of data blocks
(such as result values, node coordinates and ids). Only the first 100 values of such 
arrays are printed (if the size exceeds 100 items).

The example might be useful for dumping the file content to a console as help for debugging.

.. literalinclude:: ../../../../../../EnvisionDesktop/Examples/VTFx/VTFxRead/VTFxRead.cpp
    :language: cpp
    :lines: 45-480

