This question already has an answer here:
- Using processing.runalg in QGIS 3 1 answer
I'd like to use PyQGIS to run algorithms from the toolbox in QGIS 2.99 but runalg does not seem to be known.
For instance, the following would generate a grid in QGIS 2.18:
processing.runalg('qgis:creategrid', 1, '467009.285713,480668.436073,5610112.91342,5615790.0642', 500, 500, r'EPSG:25832',r'D:\tobedeleted\trash\grid.shp')
But now it gives me:
AttributeError: module 'processing' has no attribute 'runalg'
I checked the QGIS 3 API breaks for processing and although methods like alglist were removed it does not mention runalg.