Function: execAlgorithmDialog

qgis.processing.execAlgorithmDialog(algOrName: str | QgsProcessingAlgorithm, parameters: Dict[str, object] = {}) Dict | None

Executes an algorithm dialog for the specified algorithm, prepopulated with a given set of parameters.

Parameters:
  • algOrName – Either an instance of an algorithm, or an algorithm’s ID

  • parameters – Initial algorithm parameters dictionary

Returns:

algorithm results as a dictionary, or None if execution failed

Raises:

QgsNotSupportedException if the Processing plugin has not been loaded