Cannot set slice origin in python

Hi,

I’m trying to export some slices through python and I’m trying to set the origin and normal by hand through slice.SliceType.Normal and slice.SliceType.Origin. But when I try to save the slices seems that the Origin value is changed back to the original one. Any idea why this might be happening? I’m using Paraview 5.10.1.