Yes it helps, thx.
But what does the 2 first fields mean?
For instance I would like to select the name of the vector field from an 
argument of the python script, should I do this:
  filter.VectorVariable = [options.name, 'velocity', '0', '1', '2']
or this:
  filter.VectorVariable = ['velocity', options.name, '0', '1', '2']


Date: Tue, 1 Dec 2009 10:53:58 -0700
Subject: Re: [Paraview] Python calculator
From: petertbr...@gmail.com
To: stan1...@hotmail.fr
CC: paraview@paraview.org

The way to specify a vector variable is not entirely intuitive:

filter.VectorVariable = ['velocity', 'velocity', '0', '1', '2']

Hope that helps,

Peter.


On Tue, Dec 1, 2009 at 9:51 AM, Fred Fred <stan1...@hotmail.fr> wrote:






I a trying to compute the velocity magnitude but there are some thing I did not 
well understand:
First, what do the 3 arguments of VectorVariable mean?

  filter.VectorVariable = ['velocity','velocity', '3']


Second, what is wrong here:

  filter.Function = 'mag(velocity)'

                                          
Vous cherchez l'intégrale des clips de Michael Jackson ? Bing ! Trouvez !


_______________________________________________

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



                                          
_________________________________________________________________
Tchattez en direct en en vidéo avec vos amis !  
http://www.windowslive.fr/messenger/
_______________________________________________
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