Re: [Paraview] PythonProgrammableFilters Multiple Input Ports

2018-06-08 Thread Utkarsh Ayachit
> Using the `input_ports="2"` attribute did the trick! Glad to hear. > The changes in your merge request have me really excited! Would this make it > possible to make a class like `class > PythonSuperquadricSource(VTKPythonAlgorithmBase)` in a .py file and load that > as a plugin at runtime?

Re: [Paraview] PythonProgrammableFilters Multiple Input Ports

2018-06-07 Thread Bane Sullivan
Hi Gaël, Thank you for your help! I was aware of this way to add multiple inputs to a programmable filter and FYI if you would like to have a dialog appear in the PV GUI to select the inputs in a non-arbitrary order then try making several InputProperty attributes in the XML rather than using the

Re: [Paraview] PythonProgrammableFilters Multiple Input Ports

2018-06-01 Thread Gaël Grail
Hi Bane, I'm using the binary version of Paraview available in Kitware's website, so I don't know much about what should be written in the C code. But in the xml, I'm using this and it works perfectly: ... Hope this helps, Gaël 2018-06-01 2:40 GMT+02:00 Bane Sullivan : >

[Paraview] PythonProgrammableFilters Multiple Input Ports

2018-05-31 Thread Bane Sullivan
Hi there, I see an old thread here: https://paraview.markmail.org/thread/z7cy73444s7fjadk about setting multiple input ports for python programmable filters but I cannot get this to work. I want to declare multiple input ports in a ServerManagerConfiguration XML plugin but I have been unable to