Hii all, I am new to paraview pvpython interface, and I am having trouble reading xdmf file from pvpython interface. This documentation: https://kitware.github.io/paraview-docs/latest/python/paraview.simple.XDMFReader.html is not coming to rescue.
The format in which I am trying:
import paraview
file = paraview.simple.XDMFReader(r’C:\Users\Saurabh\Desktop\0001.xdmf’)
The error message says: RuntimeError, exact message copy-pasted below for reference
Traceback (most recent call last):
File “”, line 1, in
File “D:\Softwares\ParaView-5.8.0-Windows-Python3.7-msvc2015-64bit\ParaView-5.8.0-Windows-Python3.7-msvc2015-64bit\bin\Lib\site-packages\paraview\simple.py”, line 2245, in CreateObject
raise RuntimeError (“This function does not accept non-keyword arguments.”)
RuntimeError: This function does not accept non-keyword arguments.
Any help will be highly appreciated
Thanks
Saurabh