<div dir="ltr">Hi, <div><br></div><div>I have a home made plugin and I have some python code to do post processing. Now I want to embed this pythons routines in my plugin (using the Embedding Python Source As Modules of <a href="http://www.paraview.org/Wiki/ParaView/Plugin_HowTo">http://www.paraview.org/Wiki/ParaView/Plugin_HowTo</a>). this work great, if I open a python console (using the GUI) and then typing the "import mymodule" I can access my routines.</div><div><br></div><div>Now I want to use this routines in a programmable filter. The problem is that my module is no available directly in the python environnement of the python programmable sources.</div><div><br></div><div>For the moment I have to do this (reload my plugin inside the programmable filter):</div><div>Script of the programmable filter:</div><div><br></div><div><div>from paraview.simple import servermanager</div><div>servermanager.LoadPlugin('libZ7ToolsNative.so')</div><div>import zsetpythonpostpro</div><div><span style="line-height:1.5">zsetpythonpostpro.CalcPostQuantitiesFromSigma(self)</span><br></div></div><div><br></div><div><span style="line-height:1.5">for the  moment this work but,</span><span style="line-height:1.5"> the "LoadPlugin('...) line takes about 3 seconds every time (and my routine less than 1 s).</span><br></div><div><br></div><div>Working in linux with paraview 5.0.0 (gcc, 64-bits) from sources.</div><div><br></div><div>Any ideas of how to solve this issue.</div><div>Thanks</div><div>Felipe</div><div><br></div></div>