I wouldn't use python, instead use an XML plugin. See: http://paraview.org/Wiki/Plugin_HowTo#XML_Only
What you want to do is: 1) copy the entry for that filter out of filters.xml 2) change the name for the proxy 3) add properties to let ParaView know about the VTK methods that it does not yet 4) load the plugin as described on the wiki Also note that online help current hasn't been current in a long time. Since 3.10, everyone should now refer to http://paraview.org/Wiki/ParaView/Users_Guide/Table_Of_Contents instead. David E DeMarle Kitware, Inc. R&D Engineer 28 Corporate Drive Clifton Park, NY 12065-8662 Phone: 518-371-3971 x109 On Tue, Apr 19, 2011 at 4:55 PM, Dan Lussier <[email protected]> wrote: > Hi, > > I wanted to use some of the unexposed options in the Connectivity > filter (i.e. the extraction mode): > > http://paraview.org/OnlineHelpCurrent/PVConnectivityFilter.html > > What is the best way to make this happen? > > 1 - Python Programmable Filter ? I gave this a try, but was not able > to get it working all as I was not sure about how to pass data in and > out of the filter. > > 2 - Python Shell ? What would be the advantage of going this route? > > I am open to suggestions - and if someone more familiar with using > Python in Paraview and found the examples from the Programmable Filter > tough to use, so a simple minimal example would be great of either > approach would be great. > > Thanks. > _______________________________________________ > 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://www.paraview.org/mailman/listinfo/paraview > _______________________________________________ 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://www.paraview.org/mailman/listinfo/paraview
