how to make fxn argument work with setting a field value
MRAB
python at mrabarnett.plus.com
Thu Sep 8 11:06:11 EDT 2011
On 08/09/2011 08:59, noydb wrote:
>> The documentation mentions "getValue" and "setValue":
>>
>> http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//002z00...- Hide quoted text -
>>
>> - Show quoted text -
>
> I have tried row.setValue(rankFld) = i for line 14. Get syntax error
> - cant assign to function call
Of course you can't assign to a function call!
It's:
row.setValue(rankFld, value)
and:
value = row.getValue(rankFld)
More information about the Python-list
mailing list