[Paraview] Extracting result from IntegrateVariables

Chukwudi Chukwudozie cchukw1 at tigers.lsu.edu
Fri Jul 4 01:06:38 EDT 2014


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/paraview/attachments/20140704/c0ea8f7b/attachment.html>


More information about the ParaView mailing list