mirror of
https://github.com/OpenFOAM/ThirdParty-6.git
synced 2025-12-08 06:57:43 +00:00
ParaView-5.0.1: Added the source-tree to ThirdParty-dev and patched as described in the README file
Resolves bug-report http://bugs.openfoam.org/view.php?id=2098
This commit is contained in:
@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env python
|
||||
from __future__ import print_function
|
||||
from vtk import *
|
||||
|
||||
csv_source = vtkDelimitedTextReader()
|
||||
csv_source.SetFieldDelimiterCharacters(",")
|
||||
csv_source.SetHaveHeaders(True)
|
||||
csv_source.SetDetectNumericColumns(True)
|
||||
csv_source.SetFileName("authors.csv")
|
||||
csv_source.Update()
|
||||
|
||||
T = csv_source.GetOutput()
|
||||
|
||||
print("Table loaded from CSV file:")
|
||||
T.Dump(10)
|
||||
Reference in New Issue
Block a user