Yes, export the custom filter as xml then manually edit it. Delete the custom filter from paraview and then import the edited one.
Utkarsh On Tue, Nov 3, 2009 at 8:51 AM, Paul Edwards <[email protected]> wrote: > My problem is with a filter (i.e. 1 input and 1 output) that requires > a file as well as the input dataset. The XML I posted works fine for > that filter on its own but if I use the "Tools -> Create Custom > Filter" from the menu inside ParaView and use then choose the filename > as a property it doesn't show up (I'm not writing any code here). Is > it possible to add a bogus property to a custom filter created with > the ParaView GUI? > > Regards, > Paul > > 2009/11/2 Utkarsh Ayachit <[email protected]>: >> This is a known bug. For now, try adding another bogus property with >> FileListDomain as follows. The first one always gets ignored. >> <StringVectorProperty name="bogus" >> number_of_elements="1"> >> <FileListDomain name="files"/> >> </StringVectorProperty> >> >> Utkarsh >> >> >> On Mon, Nov 2, 2009 at 1:28 PM, Paul Edwards <[email protected]> >> wrote: >>> Hi, >>> >>> I have created my own filter which has a filename as one of the >>> properties, e.g. XML is: >>> >>> 8<------------------------------------------------------ >>> <StringVectorProperty >>> name="MyFileName" >>> command="SetMyFileName" >>> number_of_elements="1"> >>> <FileListDomain name="files"/> >>> </StringVectorProperty> >>> >>> <Hints> >>> <Property name="MyFileName" show="1"/> >>> </Hints> >>> ------------------------------------------------------>8 >>> >>> If I try to create a custom filter inside ParaView and expose this >>> property it is not displayed in the new custom filters properties >>> panel of the object inspector. >>> >>> Regards, >>> Paul >>> _______________________________________________ >>> 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
