[Paraview] Pre-load python macros & toolbar icons?

David E DeMarle dave.demarle at kitware.com
Tue Nov 10 16:50:06 EST 2009


Hmmm. Someone will probably chime in with an easier way.

I would try combining an autostart plugin and a python extension.
See
ADD_PARAVIEW_AUTO_START and ADD_PYTHON_EXTENSION
in ParaView3/CMake/ParaViewPlugins.cmake

David E DeMarle
Kitware, Inc.
R&D Engineer
28 Corporate Drive
Clifton Park, NY 12065-8662
Phone: 518-371-3971 x109



On Tue, Nov 10, 2009 at 3:51 PM, Eric E. Monson <emonson at cs.duke.edu> wrote:
> Hello,
>
> I'm wondering if it is possible for ParaView to automatically load Python
> macros? (Like plugins, where PV looks in certain places to load
> automatically, or through some XML?)
>
> I understand that once macros are loaded they'll show up again the next time
> PV is launched, but I was wondering in the context of delivering a custom
> application where I'd like to fill the toolbar with macros right from the
> first launch.
>
> Also, is there any way to associate an icon with a macro (like you can with
> a filter)?
>
> Thanks,
> -Eric
>
> ------------------------------------------------------
> Eric E Monson
> Duke Visualization Technology Group
>
>
>
> _______________________________________________
> 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