<div dir="ltr">Hi Charles,<div><br></div><div>Are you trying to add a point data array? If so, you can add something like the following to your script:</div><div><br></div><div>myArray = vtk.vtkFloatArray()</div><div>myArray.SetName("MyDataArray")</div><div>myArray.SetNumberOfComponents(1)</div><div>myArray.SetNumberOfTuples(numPts)</div><div>... <fill array></div><div><br></div><div>self.GetOutputDataObject(0).GetPointData().AddArray(myArray)</div><div><br></div><div>Best,</div><div>Cory</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jun 25, 2015 at 2:00 PM, Charles Grow <span dir="ltr"><<a href="mailto:cgrow4@gmail.com" target="_blank">cgrow4@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br>
        I am a bit new to ParaView, I'm working on developing a plugin using<br>
the programable filters as described here<br>
"<a href="http://www.kitware.com/blog/home/post/534" rel="noreferrer" target="_blank">http://www.kitware.com/blog/home/post/534</a>". Is there anymore info/examples<br>
on this other then that post and the one wiki page?<br>
       I cant seem to find how to add data to points or do anything with<br>
other data really.<br>
<br>
Any help is appreciated!<br>
<br>
<br>
<br>
--<br>
View this message in context: <a href="http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/Adding-data-to-points-Python-Programmable-filter-tp3851.html" rel="noreferrer" target="_blank">http://the-unofficial-paraview-developers-forum.34153.x6.nabble.com/Adding-data-to-points-Python-Programmable-filter-tp3851.html</a><br>
Sent from the The Unofficial ParaView Developers Forum mailing list archive at Nabble.com.<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" rel="noreferrer" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" rel="noreferrer" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Search the list archives at: <a href="http://markmail.org/search/?q=Paraview-developers" rel="noreferrer" target="_blank">http://markmail.org/search/?q=Paraview-developers</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://public.kitware.com/mailman/listinfo/paraview-developers" rel="noreferrer" target="_blank">http://public.kitware.com/mailman/listinfo/paraview-developers</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">Cory Quammen<br>R&D Engineer<br>Kitware, Inc.</div>
</div>