[Paraview] Python Programmable Filter: Get Filename of Import filter

2011-11-23 Thread Markus Fuger
Hello, it seems if my question formulated in a previous thread (http://www.paraview.org/pipermail/paraview/2011-November/023318.html) did not really decribe what I needed. I do like to get the information of the ImportFilter.GetPropertyValue('FileNameInfo') in a Programmable Filter, namely t

Re: [Paraview] Python Programmable Filter: Get Filename of Import filter

2011-11-23 Thread pat marion
Hi Markus, You can walk up the filter pipeline from the python programmable filter like this: filter = self while filter.GetInput(): filter = filter.GetInput().GetProducerPort().GetProducer() print filter.GetClassName() This is technique is also discouraged :) Filters should be self cont

Re: [Paraview] Python Programmable Filter: Get Filename of Import filter

2011-11-28 Thread Markus Fuger
, but perhaps not everything is wrapped into the ParaView VTK module. Markus > From: pat.mar...@kitware.com > Date: Wed, 23 Nov 2011 16:28:15 -0500 > Subject: Re: [Paraview] Python Programmable Filter: Get Filename of Import > filter > To: m_fu...@hotmail.com > CC: paraview@para

Re: [Paraview] Python Programmable Filter: Get Filename of Import filter

2011-11-28 Thread pat marion
he file information > property. > Looking at the doxygen documentation it in principle should have, but > perhaps not everything is wrapped into the ParaView VTK module. > > Markus > >> From: pat.mar...@kitware.com >> Date: Wed, 23 Nov 2011 16:28:15 -0500 >> Subject: