Remember that in the GUI "Tools->Start Trace", "do something", "Tools->Stop Trace" is the ideal way to learn how to "do something" from the python scripting interface.
Try: display_pipeline = Show(pointData, view) display_pipeline.Representation = 'Volume' David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Sat, Jul 14, 2012 at 9:48 AM, Roba Binyahib <roba.binya...@kaust.edu.sa> wrote: > > > 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. > _______________________________________________ > 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 > _______________________________________________ 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