# Plot3D Reader

**URL:** https://discourse.paraview.org/t/plot3d-reader/7629
**Category:** ParaView Support
**Tags:** vtk
**Created:** [July 16, 2021, 5:47pm UTC](https://discourse.paraview.org/t/plot3d-reader/7629 "2021-07-16T17:47:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![luismsfern](https://discourse.paraview.org/user_avatar/discourse.paraview.org/luismsfern/32/16266_2.png) [@luismsfern](https://discourse.paraview.org/u/luismsfern)
#### Post date: [July 16, 2021, 5:47pm UTC](https://discourse.paraview.org/t/plot3d-reader/7629/1 "2021-07-16T17:47:19Z")

</div>

Dear ParaView community,

I’m trying to read a Plot3D file into ParaView. I have the grid file (.x) and the code I have access to writes out the function file containing the solution data (.f). The files are binary, little endian, double-precision, written by Fortran code and have a blanking variable set.

Now, reading the grid file only (without any solution file or function file attached) works fine. The issue comes when I try to add the solution or function file. I tried circumventing the problem by using vtk directly, but I am still unable to read the files, it reports the two files have a different number of zones, which I know is not correct since I can open the files with no issues in other software, Tecplot for example.

Here’s the piece of vtk code I wrote to load the file, for reference.

reader = vtk.vtkMultiBlockPLOT3DReader()  
reader.SetXYZFileName(‘test.x’)  
reader.SetQFileName(‘test.q’)  
reader.AutoDetectFormatOff()  
reader.BinaryFileOn()  
reader.MultiGridOn()  
reader.HasByteCountOn()  
reader.IBlankingOn()  
reader.DoublePrecisionOn()  
reader.SetByteOrderToLittleEndian()  
reader.Update()

Is this a known bug, or is there something else I should try?

---

<div class="post-metadata">

### Author: ![mwestphal](https://discourse.paraview.org/user_avatar/discourse.paraview.org/mwestphal/32/17_2.png) [@mwestphal](https://discourse.paraview.org/u/mwestphal)
#### Post date: [August 3, 2021, 9:35am UTC](https://discourse.paraview.org/t/plot3d-reader/7629/2 "2021-08-03T09:35:32Z")

</div>

please share your files.
