[Paraview] Rename filtered sources with Python

Sebastien Jourdain sebastien.jourdain at kitware.com
Tue Jun 5 10:58:26 EDT 2012


Here are the two way of doing that:

First set the name at the creation by doing that:

> c = Cone(guiName = "MySuperName")

Or renaming it afterward

> RenameSource( proxy = p, newName = "MySuperNewName")

Seb

On Tue, Jun 5, 2012 at 10:18 AM, Magician <f_magician at mac.com> wrote:
> Hi all,
>
>
> I've been trying to automate ParaView with Python for weeks.
> Now I want to rename filter results such as "ExtractBlock1"
> to any other names.
> I searched documents on the web and properties of ActiveSource
> and others, but I couldn't find how to rename them.
>
> I found a tip of renaming Sphere sources, but I couldn't apply it to my cases:
> http://www.paraview.org/pipermail/paraview/2009-June/012350.html
>
> Does anyone have good ideas?
>
>
> Magician
> _______________________________________________
> 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