<div dir="ltr">


















<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Hello,<span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">I’m trying
to do a Programmable Source with a drop down list like this (“ParametricSource”
plugin example):<span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"><a href="https://github.com/themiwi/ParaView/blob/master/Examples/Plugins/ParametricSource/ParametricSource.xml" style="color:blue;text-decoration:underline">https://github.com/themiwi/ParaView/blob/master/Examples/Plugins/ParametricSource/ParametricSource.xml</a><span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Where the
displayed properties menu depends on the selected option in the drop down list.
My goal is to allow to set some variables of the Python executed script
depending on the user’s first drop down selection. My code is very similar to
the classic HelixSource :<span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US"><a href="https://github.com/themiwi/ParaView/blob/master/Examples/Plugins/HelixSource/helix.xml" style="color:blue;text-decoration:underline">https://github.com/themiwi/ParaView/blob/master/Examples/Plugins/HelixSource/helix.xml</a><span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">However, the
ParametricSource XML seems to work only with parametric functions. I cannot
find the way to adapt it for the Helix Programable Source. Do you have some
idea for solving this problem?<span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Thanks in
advance.<span></span></span></p>

<p class="MsoNormal" style="margin:0cm 0cm 10pt;line-height:115%;font-size:11pt;font-family:Calibri,sans-serif"><span lang="EN-US">Miguel
Angel AGUIRRE<span></span></span></p>





.<div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><strong><font color="#000099"></font></strong></div>
<div><br></div></div></div></div>
</div>