Hi all,
I'm trying to apply Calculator filter to active source from the Python Shell. I executed these codes: > calc = Calculator() > calc.AttributeMode = "point_data" > calc.Function = "iHat+jHat+kHat" > calc.ResultArrayName = 'SampleVect' Applying the script, a new Calculator source is generated, but the source isn't activated on the current view. Valid sources have eye icons on the Pipeline Browser, but the Calculator source which is generated by Python doesn't have it. How can I finish to generate the filter source from Python? Magician _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://www.paraview.org/mailman/listinfo/paraview
