Class: QgsVectorLayerUndoPassthroughCommandDeleteFeatures

class qgis.core.QgsVectorLayerUndoPassthroughCommandDeleteFeatures

Bases: QgsVectorLayerUndoPassthroughCommand

Undo command for deleting features from a vector layer in transaction group.

New in version 3.0.

QgsVectorLayerUndoPassthroughCommandDeleteFeatures(buffer: QgsVectorLayerEditBuffer, fids: object) Constructor for QgsVectorLayerUndoPassthroughCommandDeleteFeatures

Parameters
  • buffer – associated edit buffer

  • fids

    feature IDs of features to delete from layer

    Methods

    redo

    undo

redo(self)
undo(self)