Hello together,
I wrote a short python script to create slices with local coordinate systems
in ParaView. Sometimes then the script should create a new slide with
defined parameter about scalar factor, origin and normal vector, the
function returns a value error. The message told me that the p
I can't say for sure but my guess is that the slice you created doesn't
intersect your geometry and thus you have 0 points and you won't get any
point data to pseudo-color by. The other possibility is that the slice
filter hasn't been updated yet.
You can try something like
self.newSlice.GetDataIn
Hi Andy,
thanks for your support. The function
self.newSlice.GetDataInformation().GetNumberOfPoints() returns zero points
then the functions fails. But it is kind of wired because I use always the
same origin and normal vector and sometimes it is successful. Ok, now I
know the problem and I try to