Re: [Paraview] GetSources() fails with Custom Filters

2010-06-08 Thread m . c . wilkins
Hi Utkarsh, Thank you very much, your fix did the trick! Matt Wilkins On Thu, Jun 03, 2010 at 01:32:45PM -0400, Utkarsh Ayachit wrote: I've committed a fix for this. commit a573d3bafe54d5edf7ce49de9c46e6e91c52392b Author: Utkarsh Ayachit utkarsh.ayac...@kitware.com Date: Thu Jun 3

Re: [Paraview] GetSources() fails with Custom Filters

2010-05-31 Thread Utkarsh Ayachit
Matt, I just tried the same with current git-master (should be same as 3.8 as far as python stuff is concerned). It seems to work just fine: from paraview.simple import * paraview version 3.9.0, Date: 2010-05-21 GetSources() {('Sphere1', '105'): paraview.servermanager.Sphere object at

Re: [Paraview] GetSources() fails with Custom Filters

2010-05-31 Thread m . c . wilkins
Hi, Perhaps I am doing something wrong, because I am getting different behaviour to you Utkarsh. I have not tried the current git-master, just 3.6.2 and 3.8.0. With 3.8.0 GetSources() only works if I make the custom filter, then restart paraview and apply it. If I apply the custom filter

Re: [Paraview] GetSources() fails with Custom Filters

2010-05-31 Thread m . c . wilkins
Hi, I just built paraview from the latest git repo, same as with 3.8.0. OK, so I must be doing something wrong with my Custom Filter. Or did you not try the GetSources() before doing a restart with paraview? Matt Wilkins On Tue, Jun 01, 2010 at 08:57:14AM +1200, m.c.wilk...@massey.ac.nz