<div dir="ltr">Great Nathan !!!<br><div><div class="gmail_extra"><div class="gmail_quote"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>
This is all you need:</div><div><br></div><div>rq = QgsFeatureRequest(iface.mapCanvas().extent())</div><div>for feature in layer.getFeatures(rq):</div></div></blockquote><div><br></div><div>You are the best:  you solved in a second all my ploblems  :)<br>
<br><br></div><div>Thank thank thank you.<br><br></div><div>Roberto <br></div></div></div></div></div>