[Paraview] Volume Rendering with python

Roba Binyahib roba.binyahib at kaust.edu.sa
Sat Jul 14 09:48:19 EDT 2012


Hello

I want to change the representation to volume using python

this is my script

from paraview import servermanager
servermanager.Connect()
from paraview.simple import*

reader = servermanager.sources.XdmfReader(FileName =
"/.................../HCOOnly.xmf")
reader.UpdatePipeline()

pointData = servermanager.filters.CellDataToPointData(Input=reader)
pointData.UpdatePipeline()


view = servermanager.CreateRenderView()
Show(pointData, view)
Render(view)

I want to perform the volume representation on pointData


Hope someone can help


thanks

-- 

------------------------------
This message and its contents, including attachments are intended solely 
for the original recipient. If you are not the intended recipient or have 
received this message in error, please notify me immediately and delete 
this message from your computer system. Any unauthorized use or 
distribution is prohibited. Please consider the environment before printing 
this email.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20120714/f044c71e/attachment.htm>


More information about the ParaView mailing list