I can run the below processing algorithm
myresult = processing.run("qgis:selectbylocation",
{ 'INPUT': selection_layer.name() ,
'PREDICATE': 0,
'INTERSECT': w_r_t_selection_layer.name(),
'METHOD': 0,
}
)
But how to run the above process only on selected rows of INTERSECT layer?
When we run the same processing via QGIS GUI, there is checkbox to obtain that function but I cannot find any way to do same via Python scripting.