CFD Online Discussion Forums

CFD Online Discussion Forums (https://www.cfd-online.com/Forums/)
-   Tecplot (https://www.cfd-online.com/Forums/tecplot/)
-   -   Reading Tecplot *.plt files using TecIO.dll (https://www.cfd-online.com/Forums/tecplot/71715-reading-tecplot-plt-files-using-tecio-dll.html)

sbm_dk January 12, 2010 21:05

Reading Tecplot *.plt files using TecIO.dll
 
I desperately need to find a method to read xyz-data from Tecplot plt files. I believe Ive heard rumours that it is possible using TecIO.dll but have not yet seen a code snippet that illustrates how.

I am coding in C and C# but any piece of code in any language would be greatly helpful.

FB2012 November 14, 2013 06:26

Answer
 
An example can be found in the tecio source file archive dowloaded from tecplot support. It contains two parts the tecio source code and a program called pltview.
Reading the source code of pltview will explain how to do a plt reader.
In the main part of the program just turn on array reading by modifying the following part.
Line 594 change it to
ReportFileInfo(argv[CurFile], TRUE, TRUE);

Best regards


All times are GMT -4. The time now is 08:10.