Dynamic GUI Generation for Python Plugins

Hi ParaView Community,

I do a lot of prototyping, and one feature I use heavily is Python plugins in ParaView.

They make it possible to turn a prototype into something that instantly looks and feels professional, thanks to ParaView’s existing UI and infrastructure.

One thing I really miss, however, is the ability to dynamically create forms and widgets for Python sources and filters. In some cases, the form that should be presented to the user depends on information coming from a file or a network connection, so the required GUI cannot be fully defined in advance.

The new ONNX filter seems to provide part of a possible solution, as it appears to generate GUI elements from a JSON definition.

How difficult would it be to support a truly dynamic GUI for a Python plugin in ParaView, where properties or widgets could be created or updated at runtime based on external data?

I understand that some C++ development would probably be required to support this.

Would this be feasible within ParaView’s current plugin/property architecture?

Thanks, and Thanks the Kitware team for all the great software.

Felipe