Hello,

I have a Python reader that creates a vtkPolyData object and when it wants to 
change its Representation to Points, it returns the following error:

RuntimeError: maximum recursion depth exceeded

However, if I run the same sequence of code in the Paraview’s Python Shell:

view = GetRenderView()
src = FindSource('Model_EQ')
dp = GetDisplayProperties(src)
dp.Representation=‘Points'

It works just fine. The error is generated when it is executing

dp = GetDisplayProperties(src)

Any suggestions?

Thanks,

—manoch
_______________________________________________
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

Search the list archives at: http://markmail.org/search/?q=ParaView

Follow this link to subscribe/unsubscribe:
https://paraview.org/mailman/listinfo/paraview

Reply via email to