I tried with the cvs version and I still have the same problem

Nicolas


On 10/02/2010 15:45, Utkarsh Ayachit wrote:
Can you try updating to latest CVS and see? I just tried with the CVS
head and couldn't reproduce the issue.

Utkarsh

On Wed, Feb 10, 2010 at 7:55 AM, Nicolas Richart
<nicolas.rich...@epfl.ch>  wrote:
Hi,

I try to modify representation properties in order to color my data with the
values of an array
and I get a segmentation fault.

So I try the example which is on the wiki on the Python Scripting page
And i also get a segmentation fault during the rendering

from paraview.simple import *
paraview version 3.7.0, Date: 2009-11-24
sph = Sphere()
elev = Elevation(sph)
Show(elev)
vtkSphereSource : [ ...........]
vtkElevationFilter : [ ...........]
<paraview.servermanager.GeometryRepresentation object at 0x371b410>
Render()
vtkPVGeometryFilter : [ ...........]
vtkPVCacheKeeper : [ ...........]
vtkPainterPolyDataMapper : [ ...........]
vtkPainterPolyDataMapper : [ ...........]
<paraview.servermanager.RenderView object at 0x23fbb10>
dp = GetDisplayProperties(elev)
dp.Representation = 'Points'
ai = elev.PointData[1]
dp.LookupTable = MakeBlueToRedLT(0, 0.5)
dp.ColorAttributeType = 'POINT_DATA'
dp.ColorArrayName = 'Elevation' # color by Elevation
Render()
vtkPainterPolyDataMapper : [ ...........]
Segmentation fault

I'm using paraview 3.7
Do you have an idea of what happens?

Thanks in advance

--
Nicolas Richart

_______________________________________________
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

Reply via email to