<div dir="ltr">I think it is a scope thing, or object ownership.<div><br></div><div style>Martin, is that what the issue is?</div><div style><br></div><div style>- Nathan</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Thu, Apr 25, 2013 at 5:51 PM, Denis Rouzaud <span dir="ltr"><<a href="mailto:denis.rouzaud@gmail.com" target="_blank">denis.rouzaud@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Works like a charm!!!!<br>
<br>
Thanks a lot!!!!<div class="HOEnZb"><div class="h5"><br>
<br>
On 04/25/2013 09:49 AM, Nathan Woodrow wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Denis,<br>
<br>
Try this:<br>
<br>
fields = layer.pendingFields()<br>
f.setFields(fields)<br>
<br>
- Nathan<br>
</blockquote>
<br>
</div></div></blockquote></div><br></div>