Class: QgsVectorLayerUndoPassthroughCommandAddFeatures

class qgis.core.QgsVectorLayerUndoPassthroughCommandAddFeatures(buffer: QgsVectorLayerEditBuffer, features: Iterable[QgsFeature])

Bases: QgsVectorLayerUndoPassthroughCommand

Constructor for QgsVectorLayerUndoPassthroughCommandAddFeatures

Parameters

Undo command for adding a feature to a vector layer in transaction group mode.

Methods

errorMessage

features

List of features (added feaures can be modified by default values from database)

redo

rollBackToSavePoint

setError

setErrorMessage

setSavePoint

undo

errorMessage()
features(self) → List[QgsFeature]

List of features (added feaures can be modified by default values from database)

Return type

List[QgsFeature]

redo(self)
rollBackToSavePoint()
setError()
setErrorMessage()
setSavePoint()
undo(self)