[Paraview] Python Macro group macros, scripts with user input, arrangement of filters and bug in trace

David E DeMarle dave.demarle at kitware.com
Wed Apr 20 09:34:16 EDT 2011


On Wed, Apr 20, 2011 at 5:24 AM, Fabian Braennstroem
<f.braennstroem at gmx.de> wrote:
> Hello,
>
> ... as no one replies I assume, that this is not possible.

With open source code, all things are possible, but some things take
longer to achieve. :)
But no I don't think these things are in 3.10.

>
> Fabian
>
> On 04/14/2011 09:11 PM, Fabian Braennstroem wrote:
>>
>> Hello,
>>
>> I am using quite a few python macros for my daily work. Mostly this
>> works quite nice! Unfortunately I do not find a way, how to arrange some
>> to certain groups. E.g. I would like to group macros for setting certain
>> views and other to a group, where special filters are adjusted. Is it
>> somehow possible to get a sub-menu entry for the groups?

This is a great idea, please add a feature request for it.

>>
>> For some macros it would be great, if I can give further user input. I
>> there a best way how to do it? Maybe, it is even possible that small
>> window with a list of options opens up!?
>>

This is also a great idea, please add a feature request for it.

>> In addition to this I would like to create sub-menus for own filters. Is
>> there a way to do this? Probably I could create a python macro for this,
>> but then the list of macros would rise... and it will be even more
>> difficult to get an overview.

See http://paraview.org/Wiki/Plugin_HowTo#Adding_Categories_to_the_Filters_Menu
which explains how to do this for filters added via the plugin
mechanism. As for the python programmable filters (the only context I
can see where adding python to the filters menu makes sense) we will
look at adding this when we get to revamping the programmable filter
UI.

>>
>> At the end, I would like to mention, that in 3.10.0 using the python
>> trace, there was no recording of the camera zoom (I think it was missing
>> for saving certain camera settings from the main windows as well)... I
>> will now check it for 3.10.1.

Please file a bug report for this.

>>
>> Would be great, if you have some hints!
>> Thanks advance!
>> Fabian
>> _______________________________________________
>> 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
>>
>> Follow this link to subscribe/unsubscribe:
>> http://www.paraview.org/mailman/listinfo/paraview
>
> _______________________________________________
> 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
>
> Follow this link to subscribe/unsubscribe:
> http://www.paraview.org/mailman/listinfo/paraview
>


More information about the ParaView mailing list