Hello, I have created a Python programmable source to populate and display a vtkPolyData. All works well, however, I would like to change display settings via the same Python code. I found out that after I press The Apply button I can modify the script to set the representation type to ‘Points’ but if I place a GetDisplayProperties statement at the end of the script initially to gain access to these properties, I will get:
Traceback (most recent call last): File "<string>", line 20, in <module> File "<string>", line 82, in RequestData File "/Applications/ParaView-5.4.1-822-g597adef982.app/Contents/Python/paraview/simple.py", line 454, in GetDisplayProperties return GetRepresentation(proxy, view) File "/Applications/ParaView-5.4.1-822-g597adef982.app/Contents/Python/paraview/simple.py", line 437, in GetRepresentation view = active_objects.view File "/Applications/ParaView-5.4.1-822-g597adef982.app/Contents/Python/paraview/simple.py", line 2213, in get_view self.__get_selection_model("ActiveView").GetCurrentProxy()) File "/Applications/ParaView-5.4.1-822-g597adef982.app/Contents/Python/paraview/simple.py", line 2191, in __get_selection_model pxm = servermanager.ProxyManager(session) RuntimeError: maximum recursion depth exceeded How can I address this problem? 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://public.kitware.com/mailman/listinfo/paraview