Subgroup: Processing

Class: QgsProcessingOutputLayerDefinition

class qgis.core.QgsProcessingOutputLayerDefinition(sink: str = '', destinationProject: QgsProject = None)

Bases: sip.wrapper

Constructor for QgsProcessingOutputLayerDefinition, accepting a static sink/layer string. The destinationProject parameter can be set to a QgsProject instance in which to automatically load the resulting sink/layer after completing processing.

QgsProcessingOutputLayerDefinition(sink: QgsProperty, destinationProject: QgsProject = None) Constructor for QgsProcessingOutputLayerDefinition, accepting a QgsProperty sink/layer. The destinationProject parameter can be set to a QgsProject instance in which to automatically load the resulting sink/layer after completing processing.

QgsProcessingOutputLayerDefinition(QgsProcessingOutputLayerDefinition)

Encapsulates settings relating to a feature sink or output raster layer for a processing algorithm.

createOptions
destinationName
destinationProject
sink