AttributeError
Hi,
I am using paraview version 5.6.0. I am getting the following error when i execute the pvpython script generated by a trace. I am post-processing results for an openfoam case, and i am trying to plot the pressure at the cells adjacent to the wall in a cylinder at a specific slice (plane), by choosing the filter "plot on intersection curves". The slice type used in this filter is a sphere of a center [0.0, 0.0, 1.595] and a radius r=0.072. The intersection curve between the slice plane and the slice sphere is the needed output. What can i do to eliminate this error?bliba_123.pybliba_123.py Kindly find attached the script.
Traceback (most recent call last): File "bliba_123.py", line 160, in plotOnIntersectionCurves1.SliceType.Center = [0.0, 0.0, 1.595] File "/opt/paraviewopenfoam56/lib/python2.7/site-packages/paraview/servermanager.py", line 459, in setattr "to add this attribute.") AttributeError: Attribute Center does not exist. This class does not allow addition of new attributes to avoid mistakes due to typos. Use add_attribute() if you really want to add this attribute.