[Paraview] help about paraview macro
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Tue Sep 4 09:42:16 EDT 2012
Alex,
Look at http://paraview.org/Wiki/ParaView/Python_Scripting#Updating_View_Layout
It explains how to update view layout from Python.
Utkarsh
On Wed, Aug 29, 2012 at 8:16 PM, Zhijun Zhang <zjzhang at gmail.com> wrote:
> Dear all:
>
> My data has some vector properties and I would like to see them in
> several tabs.
> I would like to record a macro so I do not need to do this every time.
> I use the tools->start trace to record the macro, i did like this:
> I load in a dataset, then I open a tab, and add glyph1 for the vector
> attribute 1,
> and set some properties for it; then I open second tab, and add glyph2
> for the vector attribute 2
> then I open third tab and add glyph3 for vector attribute 3.
> After this is done, I click stop trace and save it as a *.py file.
> I load the macro into paraview by add a new macro.
>
> Then I load a new dataset, and try to use the macro.
> I found that I can not generate 3 independent tabs for the three glyphs views,
> instead I get one tab and with 3 view windows.
>
> I just wonder how to generate tabs in the macro actions?
>
> regards,
> Alex
> _______________________________________________
> 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