[Paraview] Ordered xml inputs?
David Doria
daviddoria at gmail.com
Wed Nov 4 14:57:58 EST 2009
On Wed, Nov 4, 2009 at 2:32 PM, Utkarsh Ayachit
<utkarsh.ayachit at kitware.com> wrote:
> David,
>
> Looking at the xml, you have added a "clean_command" to all the
> properties which is "RemoveAllInputs". CleanCommand is called before a
> property is pushed. So before each property value is pushed all other
> inputs are removed. And hence the error.
>
> If your filter only takes 1 connection per input port, then simply
> replace all AddInputConnection commands by SetInputConnection and
> remove the clean_command attribute all together. I've attached a
> modified xml.
>
>
> Utkarsh
Ah ha! Fantastic, it's working now, thanks all.
I have added a handful of things I've learned along the way to
http://www.paraview.org/Wiki/Plugin_HowTo if someone wants to look it
over for clarity/correctness etc.
Thanks again,
David
More information about the ParaView
mailing list