Reputation
33,109
Next tag badge:
394/400 score
208/80 answers
Badges
9 49 120
Impact
~1.2m people reached

3m
revised Tutorials, examples of datasets to network datasets?
edited tags
31m
reviewed No Action Needed In CartoDB, can columns (e.g. ARPU2011) have descriptions (e.g. Average Revenue Per User 2011)
32m
reviewed Edit Calculating longest flow path and avg. slopes for catchments with qgis?
32m
revised Calculating longest flow path and avg. slopes for catchments with qgis?
corrected spelling
35m
revised How to select highest value from multiple attributes' columns values in ArcGIS Model Builder?
Formatting etc
39m
comment Reading shapefile directory in Python?
Your question is confusing. In the title you talk about a "shapefile directory" but in your question body you seem to be using a file geodatabase. You say "I am developing tool on ArcGIS ArcMap 10.0 with .NET and Python" but make no other reference to .NET, so that statement seems to just be a distraction from any ArcPy/Python issue you may be encountering. Please take the tour to learn how the site works and use the edit button to make your question clearer.
43m
revised Reading shapefile directory in Python?
edited tags
45m
answered Reading shapefile directory in Python?
49m
revised How arcMap tool run in async mode with arcpy?
edited tags
1h
revised How arcMap tool run in async mode with arcpy?
edited tags
2h
revised Many-to-Many relationship class table- automatically fill in?
edited tags
2h
reviewed Reviewed salt marsh recession mapping with landsat/WV, IKONOS)
2h
revised salt marsh recession mapping with landsat/WV, IKONOS)
deleted 25 characters in body; edited tags
2h
revised Calculating Setbacks of Parcel using ArcGIS for Desktop?
edited tags
2h
reviewed Approve Calculating Setbacks of Parcel using ArcGIS for Desktop?
2h
reviewed Reviewed Identify and delete overlaping or near lines with similar running
4h
reviewed Reviewed 'Creating Points' along line using ArcGIS Desktop does not give me the actual distances in a field
4h
comment 'Creating Points' along line using ArcGIS Desktop does not give me the actual distances in a field
If there is nothing simpler, then you could look into Linear Referencing to get distances along routes from points.
4h
revised 'Creating Points' along line using ArcGIS Desktop does not give me the actual distances in a field
edited tags
4h
comment Assign Mask From Layer in SearchCursor Loop In ArcPy: Error Accessing Environment
I think you should remove your def line and start your code snippet with import arcpy and then three lines that set inline, inpoly and valfield. Then run that code snippet, and present the result of running just that code snippet.