Hi, I'm pretty new in paraview python scripting and I'm trying my hand on an example to IntegrateVariables along a slice (plane). However, I don't know how to extract the results of the Integrate pipeline as when I ask to print, all I get is a memory address. Below is a snapshot of my s=python script. Basically, after calling, IntegrateVariables0 = IntegrateVariables( Calculator0 ), I want to be able to use the result of the integration for other operations. How do I access it, or the syntax to use.
Slice0 = Slice() Slice0.SliceType = "Plane" Slice0 = GetActiveSource() Slice0.SliceType.Origin = [0.5, 0.005, 0.5] Slice0.SliceType.Normal = [1.0, 0.0, 0.0] Calculator0 = Calculator( Slice0 ) Calculator0.Function = 'Volumetric Crack Opening' IntegrateVariables0 = IntegrateVariables( Calculator0 ) print IntegrateVariables0 Chuks
_______________________________________________ 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://public.kitware.com/mailman/listinfo/paraview