hmm, should show up in the output messages window and on the console. Start paraview from a command line to see the console.
Agreed on the need for an example. p.s. Please "reply all" to keep the discussion on the list so everyone can contribute and benefit (or consider a kitware support contract). David E DeMarle Kitware, Inc. R&D Engineer 21 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-881-4909 On Tue, Aug 5, 2014 at 2:26 PM, Dennis Conklin <dennis_conk...@goodyear.com> wrote: > David, > > > The : did not make it work. I hate to be a complete newby, but where > would a Programmable filter print if a Programmable filter has a debugging > print? I'm not getting anything in the Output Messages window. > > > Thanks I feel like a good multi-dataset CellData example is needed in > the wiki - I have a PointData filter working. > > > Dennis Conklin, PE > RDE&Q Senior Engineer > Goodyear Innovation Center, 5th Floor South, Pillar M34 > Phone: 330-796-5701 > Email: dennis_conk...@goodyear.com > ------------------------------ > *From:* David E DeMarle <dave.dema...@kitware.com> > *Sent:* Tuesday, August 05, 2014 2:03 PM > *To:* Dennis Conklin > *Cc:* paraview@paraview.org > *Subject:* Re: [Paraview] Help with Programmable Filter > > for i in range(block.GetNumberOfCells() > >> sigma = numpy.array([ [xx[i],xy[i],xz[i]], >> [xy[i],yy[i],yz[i]], >> [xz[i],yz[i],zz[i]] >> ]) >> >> > Missing a ":" here maybe? > > Try some print debugging to see what is really happening. > > Also, I recommend using an external editor and copy/pasting the code in > or execfile("yourfile.py")'ing to develop for the programmable filter. It's > QtTextWidget is a tad deficient as an IDE. :) > > If not the ":" let us know and we can look further. > > >
_______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the ParaView Wiki at: http://paraview.org/Wiki/ParaView Follow this link to subscribe/unsubscribe: http://public.kitware.com/mailman/listinfo/paraview