<div dir="ltr">Hi Ruben,<div><br></div><div>Instead of data.SetActiveScalars(), use mapper.SetArrayId(i) or mapper.SetArrayName(name).</div><div><br></div><div> - David</div><div><br></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 31, 2018 at 8:57 AM, Ruben Di Battista <span dir="ltr"><<a href="mailto:rubendibattista@gmail.com" target="_blank">rubendibattista@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello, <div>I'm playing a bit with VTK and its Python bindings. I wrote down a simple case where I generate the distance function of a sphere, I extract the surface from it using the FlyingEdge3D algorithm, then I calculate the curvatures using the vtkCurvatures filter, and then I'd like to show the Mean_Curvature and the Gauss_Curvature in two different viewports. <br><br>What I tried to do is to use the `SetActiveScalars` method of the `PointData` associated to my `ImageData` dataset, but at the end I get two Viewports showing the same scalar (the last one activated). I also tried to stop the program execution using a debugger and triggering the render before the second scalar is made "active", and it correctly shows the first scalar field. So It's like that the two mappers rendered are "linked". <br><br>Do I need to do a ShallowCopy somewhere? <br></div></div></blockquote></div><br></div></div>