On 19-10-17 18:27, Pat Hin wrote: > Thank you > > i have done it but struggeld. but wil have a second try Did you found http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/ already? http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/vector.html#iterating-over-a-subset-of-features Regards, Richard Duivenvoorde