Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: Set a feature attribute to NULL

1 view
Skip to first unread message
Message has been deleted

leegold58

unread,
Sep 10, 2007, 6:38:25 PM9/10/07
to
On Sep 9, 9:46 am, leegold58 <goldt...@worldpost.com> wrote:
> Hi,
>
> Say I have a feature (a row) in a feature class (a table) inside an
> GDB. I want to set a feature attribute (a field) to NULL. How do I do
> this in a batch Python geoprocessing script?
>
> I've search extensively but can't find any sample code that does this.
> I would guess it involves gp.UpdateCursor but I can't get a script
> working.
>
> Help appreciated,
> Lee G.

Seems as if there's no way. I've spent hours web searching and trying
code...

P. Smith

unread,
Mar 13, 2010, 4:09:36 PM3/13/10
to

"leegold58" <gold...@worldpost.com> wrote in message
news:1189345601.1...@y42g2000hsy.googlegroups.com...

> Hi,
>
> Say I have a feature (a row) in a feature class (a table) inside an
> GDB. I want to set a feature attribute (a field) to NULL. How do I do
> this in a batch Python geoprocessing script?
>
> I've search extensively but can't find any sample code that does this.
> I would guess it involves gp.UpdateCursor but I can't get a script
> working.
>
> Help appreciated,
> Lee G.
>

There is a bug in gp that prevents setting any attributes to null in
attribute table


0 new messages