<div dir="ltr">Hi Chris,<br><span class=""></span><br><br><span class=""></span><div><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
import clr<br>
clr.AddReference("DHI.Generic.<wbr>MikeZero.DFS")<br>
from DHI.Generic.MikeZero.DFS import *<br>
<br>
This works well in "stand alone" python scripts. 
I tried using the same approach in ParaView/Programmable Source, but it can't find the CLR module.<br></span></blockquote><div><br></div><div>If you're using the ParaView client binary downloaded from <a href="http://paraview.org">paraview.org</a>, it's using it's own internal python, not the one set up on your system already (which can use the clr module).  As Andy already mentioned, setting PYTHONPATH to the directory containing the clr module should let ParaView's python find the module, but this is why it's probably happening in the first place.<br></div><br></div><div class="gmail_quote">- Chuck<br></div><br></div></div></div>