Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-01 Thread matteo via QGIS-Developer
Hi German, yes in your way it is working. But what if you try not with the algorithm/model id, but with an instance of the algorithm? In the docs I read "Either an instance of an algorithm, or an algorithm's ID", therefore I'm trying to set up an instance of my algorithm and then passing it

Re: [QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-01 Thread Germán Carrillo via QGIS-Developer
Hi Matteo, I've been successfully using *execAlgorithmDialog()* instead [0]: *processing.execAlgorithmDialog("my_provider:my_algorithm", params)* where, *params* is a dict with the pre-filled values you have. You can see an example at [1]. Regards, Germán --- [0]

[QGIS-Developer] createAlgorithmDialog in Processing script (within plugin)

2022-08-01 Thread matteo via QGIS-Developer
Hi all, I've a set of custom processing scripts within a plugin (that is both "normal" and processing provider plugin). I'm trying to executing the dialog of these algorithm from one of the main plugin file. I found the processing.createAlgorithmDialog [0], but it is constantly crashing