[Paraview] Custom filter that contains a filename
Utkarsh Ayachit
utkarsh.ayachit at kitware.com
Mon Nov 2 13:42:59 EST 2009
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 <paul.m.edwards at gmail.com> 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
>
More information about the ParaView
mailing list