<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi all,
<p>I have made a small Programmable Filter that converts my input
data. Now I have one parameter (resolution) that I would like to
be modifiable by the user. My script currently looks as follows:</p>
<pre style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace';">resolution = 20
val </span><span style=" font-family:'monospace'; color:#666666;">=</span><span style=" font-family:'monospace';"> {</span><span style=" font-family:'monospace'; color:#ba2121;">'resolution'</span><span style=" font-family:'monospace';">: resolution, </span><span style=" font-family:'monospace'; color:#ba2121;">'self'</span><span style=" font-family:'monospace';">: </span><span style=" font-family:'monospace'; color:#008000;">self</span><span style=" font-family:'monospace';">}</span></pre>
<pre style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace'; color:#008000;">execfile</span><span style=" font-family:'monospace';">(</span><span style=" font-family:'monospace'; color:#ba2121;">'/path/to/filter.py'</span><span style=" font-family:'monospace';">, val)
</span><span style=" font-family:'monospace';"></span>
</pre>
Ideally I want my users to not have to replace the 20 by whatever
value they desire, but instead make a Custom Filter with either a
text input field or a slider that will pipe its value to the
Programmable Filter. Is something like this possible at all?<br>
<br>
Thanks in advance for your help,<br>
Arno<br>
<pre style=" margin-top:0px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:'monospace';"></span></pre>
</body>
</html>