[vtkusers] SetHaveHeaders for more than one header line

M. infinity.probability at gmail.com
Tue Jul 16 15:31:47 EDT 2013


Hi all,

I'm trying to read a Tecplot file and the file has more than one header
line. Is there a way to jump more than one line using SetHaveHeaders for
vtkDelimitedTextReader?

    csv_source = vtkDelimitedTextReader()
    csv_source.SetFieldDelimiterCharacters(" ")
    csv_source.SetHaveHeaders(True)
    csv_source.SetDetectNumericColumns(True)
    csv_source.SetFileName("benzene_0.gsc")
    csv_source.Update()
    csv_source.GetOutput().Dump(6)

    T = csv_source.GetOutput()

Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20130716/f039210f/attachment.htm>


More information about the vtkusers mailing list