I am developing a Python plugin for QGIS. In the QGIS map window, certain features of a vector layer are selected and those features are highlighted. Now I need to delete all the existing features from another vector layer without disturbing the current selection in the map window.
Is it possible to delete all the features of a vector layer without selecting them?