Hi Seb,

Thanks for your advices.
I tried RenameSource.
It's easy to use, and I got good results.


Magician


On 2012/06/05, at 23:58, Sebastien Jourdain wrote:

> 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_magic...@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

Reply via email to