[Paraview] How do I install a python macro?

pat marion pat.marion at kitware.com
Tue Nov 9 23:31:57 EST 2010


Documentation for the 3.8.0 version can be found in the wiki's history here:

http://www.itk.org/Wiki/index.php?title=Python_GUI_Tools&oldid=23165

Pat

On Tue, Nov 9, 2010 at 9:35 PM, Sebastien Jourdain <
sebastien.jourdain at kitware.com> wrote:

> Hi Ken,
>
> We recently changed the Macro menu and the way that macro are managed.
> The wiki explain the new way.
>
> For your case on ParaView 3.8.0, you need to go to Tools -> Python
> Shell, and on the right side select a python file from your disk and
> click on the Add Macro button.
>
> Seb
>
> On Tue, Nov 9, 2010 at 4:32 PM, Ken Olum <kdo at cosmos.phy.tufts.edu> wrote:
> > I am a new ParaView user.  I'm using 3.8.0.  I understand there's a
> > facility for writing macros in python and putting them in a toolbar.
> > I can type the code I want the macro to execute into the python shell,
> > but I don't understand how to get it established as a macro.  I can't
> > seem to find any documentation.  In
> > http://www.itk.org/Wiki/Python_GUI_Tools#Macros it says
> >
> >   Macros allow the user to define a Python script as built-in actions
> >   that become accessible from the Macros menu or directly inside the
> >   Toolbar.
> >
> >   Once a local file is defined as a Macro...
> >
> > This is what I want, and indeed I see the "Macros" menu and the
> > toolbar, both empty.  So how do I perform this operation of defining a
> > local file as a macro?
> >
> > Thanks.
> >
> >                                        Ken Olum
> > _______________________________________________
> > 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.paraview.org/pipermail/paraview/attachments/20101109/e6842eb6/attachment-0001.htm>


More information about the ParaView mailing list