[Paraview] Parameters for Programmable Filter

Berk Geveci berk.geveci at kitware.com
Tue Dec 9 12:48:39 EST 2008


These are excellent suggestions. Please make sure to create feature
requests for them in the tracker so that we don't forget.

-berk

On Tue, Dec 9, 2008 at 12:00 PM, Sala, Marzio
<marzio.sala at bmw-sauber.com> wrote:
> Berk,
>
> I submitted a bug report, see http://paraview.org/Bug/view.php?id=8268.
>
> The Programmable Filter is a very nice tool. Beside the bug report, I have a couple of suggestions for possible enhancements:
>
> It may help to have a "Load" and a "Save" button for loading/saving the script. Once the script works, I save it and set the pythonpath variable, but while developing it may be easier to just load from an external file.
>
> Another feature that in my opinion could help is the following. The output of the filter is reported in the "Output Messages" window, which pops up. This window can be visualized using "Tools" > "Output Window". Should this output window be available as another "view", then one could use it to print messages that are not error messages from the Programmable Filter. For example, the user may list the FieldData() or other statistics (integrals, block names, min/max), or simply write a "filter OK" at the end of the computation.
>
> -Marzio
>
>
>
> -----Original Message-----
> From: Berk Geveci [mailto:berk.geveci at kitware.com]
> Sent: Dienstag, 9. Dezember 2008 17:27
> To: Sala, Marzio
> Cc: paraview at paraview.org
> Subject: Re: [Paraview] Parameters for Programmable Filter
>
> This is a feature we need to implement. I hope to have it in 3.6. Can you please file a feature request in http://paraview.org/Bug and let me know.
> The programmable filter should have a way of specifying a list of parameters that can then be exposed through the custom filter object inspector.
>
> -berk
>
> On Tue, Dec 9, 2008 at 10:33 AM, Sala, Marzio <marzio.sala at bmw-sauber.com> wrote:
>> Hello,
>>
>> I have a problem with user-defined parameters for the "Programmable Filter".
>>
>> In my case, I wrote a filter using the "Programmable Filter", then
>> this filter is grouped with some others using the "Create Custom Filter".
>> My problem is that the programmable filter requires a parameter to be
>> defined by the user. This parameter is nothing but a Python variable.
>> What I did was to add the entire script to the custom filter so that
>> it can be modified, but this exposes the entire script and makes it
>> more difficult for a user to understand what to do.
>>
>> Is there a preferred location for such user parameter?
>>
>> Thanks,
>> -Marzio
>>
>>
>> Freundliche Grüsse / Kind regards
>> Marzio Sala
>> CFD Department
>> ---
>> BMW Sauber F1 Team
>> BMW Sauber AG
>> Wildbachstrasse 9
>> CH-8340 Hinwil
>> Tel +41 (0)44-937-9544
>> Fax +41 (0)44-937-9001
>> http://www.bmw-sauber-f1.com/
>>
>>
>> _______________________________________________
>> ParaView mailing list
>> ParaView at paraview.org
>> http://www.paraview.org/mailman/listinfo/paraview
>>
>>
>


More information about the ParaView mailing list