If you use the python programmable filter, you can create it &amp; set the filter routine (python code) via a python macro on the GUI.  If the data you are trying to manipulate on the GUI is small, you could encode it in a string and set it in the body of the python programmable filter.<br>
<br>Pat<br><br><div class="gmail_quote">On Wed, Jun 29, 2011 at 9:49 AM, Utkarsh Ayachit <span dir="ltr">&lt;<a href="mailto:utkarsh.ayachit@kitware.com">utkarsh.ayachit@kitware.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Nope, moving data from client to server in the way you describe is not<br>
supported in ParaView. For what you are trying to do, you should<br>
really implement a filter (with multiple inputs, if needed) to do the<br>
data-manipulation on the server-side itself.<br>
<font color="#888888"><br>
Utkarsh<br>
</font><div><div></div><div class="h5"><br>
On Wed, Jun 29, 2011 at 5:23 AM, Florian Beck &lt;<a href="mailto:Flo.44@gmx.de">Flo.44@gmx.de</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; I want to create a DataObjectGenerator with an unstructered Grid. And when later I want to modify the grid. My try looks as follows:<br>
&gt;<br>
&gt;<br>
&gt; # create the DataObjectGenerator<br>
&gt; DataObjectGenerator1 = DataObjectGenerator()<br>
&gt; DataObjectGenerator1.Program =&#39;UG1&#39;<br>
&gt;<br>
&gt; # read some coord from over objects<br>
&gt; ...<br>
&gt;<br>
&gt; # to manipulate the grid fetch it<br>
&gt; mysource = FindSource(&quot;DataObjectGenerator1&quot;)<br>
&gt; output = servermanger.Fetch(mysource)<br>
&gt; # clean old data<br>
&gt; output.Initialize()<br>
&gt;<br>
&gt; # create some points and  triangle cells<br>
&gt; pts = pts.vtkPoints()<br>
&gt; ...<br>
&gt; output.SetPoints(pts)<br>
&gt; ...<br>
&gt; pointIds = vtk.vtkIdList()<br>
&gt; ...<br>
&gt; output.InsertNextCell(5,pointIds)<br>
&gt; ...<br>
&gt; # print the ugrid object<br>
&gt; print output<br>
&gt; mysource.UpdatePipeline()<br>
&gt; Render()<br>
&gt;<br>
&gt; My problem is after i manipulate the ugrid on the client side there, i can&#39;t move it to the server side??? Is there a solution to connect the manipulated ugrid at server side with my DataObjectGenerator ?  I know there are the programmable source, but i need data from other objects to manipulate the grid and i want to use my python script as macro.<br>

&gt;<br>
&gt; regards flo<br>
&gt; --<br>
&gt; NEU: FreePhone - kostenlos mobil telefonieren!<br>
&gt; Jetzt informieren: <a href="http://www.gmx.net/de/go/freephone" target="_blank">http://www.gmx.net/de/go/freephone</a><br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir<br>
&gt; belohnen Sie mit bis zu 50,- Euro! <a href="https://freundschaftswerbung.gmx.de" target="_blank">https://freundschaftswerbung.gmx.de</a><br>
&gt; _______________________________________________<br>
&gt; Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
&gt;<br>
&gt; Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
&gt;<br>
&gt; Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
&gt;<br>
&gt; Follow this link to subscribe/unsubscribe:<br>
&gt; <a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
&gt;<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the ParaView Wiki at: <a href="http://paraview.org/Wiki/ParaView" target="_blank">http://paraview.org/Wiki/ParaView</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.paraview.org/mailman/listinfo/paraview" target="_blank">http://www.paraview.org/mailman/listinfo/paraview</a><br>
</div></div></blockquote></div><br>