Open the command windows in your arcgis and run the following scrip. Dont forget to edit TypeYourFeature with your feature.
featurename='TypeYourFeature'
for field in arcpy.ListFields(featurename):
print field.name
Example:
If you have shp file named "streets.shp" located in D:/Mycity/roads then you need to write
featurename='D:/Mycity/roads/streets.shp'
for field in arcpy.ListFields(featurename):
print field.name
Please leave your comment if you find any error.
Tuesday, April 19, 2011
Subscribe to:
Post Comments (Atom)
Popular
- Unbelievable invention of Bheema's skeleton or Bhima's son Gadotkach like skeleton found: A hoax mail
- Online status of permesso di soggiorno on the website of Polizia di Stato
- SBI transaction on 30-Nov-0019 for INTERNET BANKING, what is this for?
- Matlab boxplot: how to change the line width (LineWidth) and color of the lines?
- Convert Longitude 0-360 to -180 to 180 or 180W-180E in fortran and matlab, transform lat lon coordinates
No comments:
Post a Comment