<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
Yes it helps, thx.<br>But what does the 2 first fields mean?<br>For instance I would like to select the name of the vector field from an argument of the python script, should I do this:<br> filter.VectorVariable = [options.name, 'velocity', '0', '1', '2']<br>or this:<br> filter.VectorVariable = ['velocity', options.name, '0', '1', '2']<br><br><br><hr id="stopSpelling">Date: Tue, 1 Dec 2009 10:53:58 -0700<br>Subject: Re: [Paraview] Python calculator<br>From: petertbrady@gmail.com<br>To: stan1313@hotmail.fr<br>CC: paraview@paraview.org<br><br>The way to specify a vector variable is not entirely intuitive:<br><br>filter.VectorVariable = ['velocity', 'velocity', '0', '1', '2']<br><br>Hope that helps,<br><br>Peter.<br><br><div class="ecxgmail_quote">
On Tue, Dec 1, 2009 at 9:51 AM, Fred Fred <span dir="ltr"><<a href="mailto:stan1313@hotmail.fr">stan1313@hotmail.fr</a>></span> wrote:<br><blockquote class="ecxgmail_quote" style="padding-left: 1ex;">
<div>
I a trying to compute the velocity magnitude but there are some thing I did not well understand:<br>First, what do the 3 arguments of VectorVariable mean?<br><br> filter.VectorVariable = ['velocity','velocity', '3']<br>
<br>Second, what is wrong here:<br><br> filter.Function = 'mag(velocity)'<br><br>                                            <br><hr>Vous cherchez l'intégrale des clips de Michael Jackson ? <a href="http://www.bing.com/videos/search?q=Michael+Jackson&FORM=MVDE6">Bing ! Trouvez !</a></div>
<br>_______________________________________________<br>
Powered by <a href="http://www.kitware.com">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview">http://www.paraview.org/mailman/listinfo/paraview</a><br>
<br></blockquote></div><br>                                            <br /><hr />Vous êtes étudiants ? Bénéficiez de Windows 7 à 35? ! <a href='http://www.windows-7-pour-les-etudiants.com' target='_new'>Découvrez notre offre ! </a></body>
</html>