<p class="MsoNormal"><span lang="EN-US">Hi,</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">I create a
macro for data post-treatment in ParaView. This macro represents a geometry
(STL file) and after plots for example pressure, computed vorticity or
streamlines. </span></p>

<p class="MsoNormal"><span lang="EN-US">My objective now is to decompose this macro to multiple python files (every file *.py contain a
python function that use a ParaView filter). The first function uses STLReader
and when I run the macro in ParaView, I got this error message:</span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-GB" style="font-size:8.5pt;font-family:Courier;color:red">Traceback (most
recent call last):</span><span lang="EN-GB"></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-GB" style="font-size:8.5pt;font-family:Courier;color:red">File &quot;&lt;string&gt;&quot;, line 1461, in &lt;module&gt;</span><span lang="EN-GB"></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-GB" style="font-size:8.5pt;font-family:Courier;color:red">File &quot;C:\Project2\Fonctions\RepresentationGeometrie_v1.py&quot;,
line 19, in
RepresentationGeometrie</span><span lang="EN-GB"></span></p>

<p style="margin:0cm;margin-bottom:.0001pt"><span lang="EN-GB" style="font-size:8.5pt;font-family:Courier;color:red">ReaderSTL=STLReader(FileNames=[STL])</span><span lang="EN-GB"></span></p>

<p class="MsoNormal"><span lang="EN-GB" style="font-size:8.5pt;font-family:Courier;color:red">NameError:
global name &#39;STLReader&#39; is not defined</span><span lang="EN-GB"> </span><span lang="EN-US"></span></p>

<p class="MsoNormal"><span lang="EN-US"> </span></p>

<p class="MsoNormal"><span lang="EN-US">Thanks for
any help.</span></p>

<span lang="EN-US" style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;">Hicham</span>