Subgroup: Processing
Class: QgsProcessingModelOutput¶
-
class
qgis.core.
QgsProcessingModelOutput
¶ Bases:
qgis._core.QgsProcessingModelComponent
Represents a final output created by the model.
New in version 3.0: Methods
childId
Returns the child algorithm ID from which this output is generated. childOutputName
Returns the child algorithm output name from which this output is generated. description
Returns the friendly description text for the component. loadVariant
Loads this output from a QVariantMap. name
Returns the model output name. position
Returns the position of the model component within the graphical modeler. restoreCommonProperties
saveCommonProperties
setChildId
Sets the child algorithm id
from which this output is generated.setChildOutputName
Sets the child algorithm output name
from which this output is generated.setDescription
Sets the friendly description
text for the component.setName
Sets the model output name
.setPosition
Sets the position
of the model component within the graphical modeler.toVariant
Saves this output to a QVariant. Attributes
-
childId
(self) → str¶ Returns the child algorithm ID from which this output is generated.
See also
-
childOutputName
(self) → str¶ Returns the child algorithm output name from which this output is generated.
See also
setOutputName()
-
loadVariant
(self, map: Dict[str, Any]) → bool¶ Loads this output from a QVariantMap.
See also
-
restoreCommonProperties
()¶
-
saveCommonProperties
()¶
-
setChildId
(self, id: str)¶ Sets the child algorithm
id
from which this output is generated.See also
-
setChildOutputName
(self, name: str)¶ Sets the child algorithm output
name
from which this output is generated.See also
outputName()
-
toVariant
(self) → Any¶ Saves this output to a QVariant.
See also
-