<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Oh, Man, Thanks ! <div><br></div><div>I can't wait to work with this today !<br><br>Michael McInnis
6033 44th Ave. N.E.
Seattle, WA 98115
206 517-4701<br><br><div><hr id="stopSpelling">From: madmanwoo@gmail.com<br>Date: Fri, 28 Feb 2014 16:26:06 +1000<br>Subject: Re: [Qgis-developer] Select By Attribute<br>To: denis.rouzaud@gmail.com<br>CC: mmcinnis59@msn.com; qgis-developer@lists.osgeo.org<br><br><div dir="ltr"><div class="ecxgmail_extra">We can make that even easier:</div><div class="ecxgmail_extra"><br></div><div class="ecxgmail_extra">toSelect = []<br></div><div class="ecxgmail_extra">for feature in layer.getFeatures(QgsFeatureRequest(<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px;">‘“LWFLAGS” != \’P\’')):</span></div>

<div class="ecxgmail_extra">     toSelect.append(<a href="http://feature.id" target="_blank">feature.id</a>())</div><div class="ecxgmail_extra">layer.<span style="color:rgb(0,0,0);font-family:arial,sans-serif;font-size:13px;">setSelectedFeatures(</span>toSelect)</div>

<div class="ecxgmail_extra"><br></div></div></div></div>                                    </div></body>
</html>