Hi bvdet,
that was a good idea. Adding the parentheses did not solve the issue though.
User Profile
Collapse
Profile Sidebar
Collapse
susieg
Last Activity: Jul 3 '12, 11:21 PM
Joined: Jul 3 '12
Location:
-
Function object is not iterable
Hi,
here is a code snippet that is supposed to calculate Value2 by multiplying Wfactor and Value1 for identical object ID's.
Unfortunately the line with "Value2 =" casts a function object is not iterable error. I am stumped on where it is coming from.
...Code:testDict = {} for test in helps.getUniqueValues(fc,"ID"): Value2 = ([c.getValue("Value1")*c.getValue("Wfactor")
No activity results to display
Show More
Leave a comment: