Thanks guys for the info. That certainly could help. Hope that will appear in the stable version sometime soon. <div><br></div><div>Cheers, </div><div>Mohamad</div><div><br><br><div class="gmail_quote">On Tue, Jul 24, 2012 at 8:30 AM, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com" target="_blank">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Ian,<br>
<br>
That&#39;s a good starting point. Here are a couple of issues with the patch:<br>
<br>
1. SetIndicator(..) won&#39;t work in client-server mode. We need to be<br>
smart about this in client-server mode and consolidates the tests to<br>
avoid performance degradation for  a large number of files.<br>
2. Duplication of ResolveEnvironmentVariables()<br>
3. Style issues: indentation, missing {} after if (), etc.<br>
<span class="HOEnZb"><font color="#888888"><br>
Utkarsh<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Sat, Jul 21, 2012 at 10:11 AM, Utkarsh Ayachit<br>
&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt; wrote:<br>
&gt; Ian,<br>
&gt;<br>
&gt; That&#39;s great! Thanks for pointing it out. I will take a look when I<br>
&gt; get back to work on Tue and try to get something in.<br>
&gt;<br>
&gt; Utkarsh<br>
&gt;<br>
&gt; On Fri, Jul 20, 2012 at 11:41 AM, Ian Curington &lt;<a href="mailto:ianc@acm.org">ianc@acm.org</a>&gt; wrote:<br>
&gt;&gt; Hello Utkarsh, Mohamad,<br>
&gt;&gt;<br>
&gt;&gt; Note we have supplied a working patch at:<br>
&gt;&gt; <a href="http://www.paraview.org/Bug/view.php?id=13092" target="_blank">http://www.paraview.org/Bug/view.php?id=13092</a><br>
&gt;&gt;<br>
&gt;&gt; which   includes   arbitrary   environment  variable  support in pvsm paths:<br>
&gt;&gt;<br>
&gt;&gt;      where environment can be reference using syntax of<br>
&gt;&gt;      %VAR_NAME%, ${VAR_NAME} and $VAR_NAME. In the latest case ($VAR_NAME), VAR_NAME must be<br>
&gt;&gt;      from [a-zA-Z0-9_-]+ language.<br>
&gt;&gt;<br>
&gt;&gt; so full absolute paths can be replaced with:<br>
&gt;&gt;<br>
&gt;&gt;     &lt;Property name=&quot;FileName&quot; id=&quot;2875.FileName&quot; number_of_elements=&quot;1&quot;&gt;<br>
&gt;&gt;         &lt;Element  index=&quot;0&quot; value=&quot;${MY_DATA}/interesting_result.vtk&quot;/&gt;<br>
&gt;&gt;<br>
&gt;&gt; We are using it in deployed production projects.<br>
&gt;&gt;<br>
&gt;&gt; -Ian<br>
&gt;&gt;<br>
&gt;&gt; Wednesday, July 18, 2012, 9:32:20 PM, you wrote:<br>
&gt;&gt;<br>
&gt;&gt;&gt; It&#39;s not possible currently, but I think we should provide some clean<br>
&gt;&gt;&gt; solution for the next release. Mind reporting  a feature request on<br>
&gt;&gt;&gt; the bug tracker (can&#39;t remember if there&#39;s on already)?<br>
&gt;&gt;<br>
&gt;&gt;&gt; Utkarsh<br>
&gt;&gt;<br>
&gt;&gt;&gt; On Tue, Jul 17, 2012 at 4:06 AM, Mohamad M. Nasr-Azadani<br>
&gt;&gt;&gt; &lt;<a href="mailto:mmnasr@gmail.com">mmnasr@gmail.com</a>&gt; wrote:<br>
&gt;&gt;&gt;&gt; Hi,<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; I have a simple question.<br>
&gt;&gt;&gt;&gt; Is it possible to assign an environment variable to define data directory in<br>
&gt;&gt;&gt;&gt; pvsm files?<br>
&gt;&gt;&gt;&gt; As I save a pvsm file, I see that paraview uses the complete directory<br>
&gt;&gt;&gt;&gt; address to add files to the pvsm file.<br>
&gt;&gt;&gt;&gt; I was wondering if there is a way to define that?<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Or, an alternative question is, is there anyway for paraview just to write<br>
&gt;&gt;&gt;&gt; the file names (and not the corresponding full directory)?<br>
&gt;&gt;&gt;&gt; That way, we can run the pvsm file in any directory as long as all the data<br>
&gt;&gt;&gt;&gt; files are in the current directory where the pvsm file is stored.<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Thanks,<br>
&gt;&gt;&gt;&gt; Mohamad<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at:<br>
&gt;&gt;&gt;&gt; <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;&gt;&gt;<br>
&gt;&gt;&gt; _______________________________________________<br>
&gt;&gt;&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;&gt;<br>
&gt;&gt;&gt; Visit other Kitware open-source projects at<br>
&gt;&gt;&gt; <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;&gt;<br>
&gt;&gt;&gt; Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;&gt;<br>
&gt;&gt;&gt; Follow this link to subscribe/unsubscribe:<br>
&gt;&gt;&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Best regards,<br>
&gt;&gt;  Ian                            mailto:<a href="mailto:ianc@acm.org">ianc@acm.org</a><br>
&gt;&gt;<br>
</div></div></blockquote></div><br></div>