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
- New Rules to add spouse name in the Indian passport
- Chanakya TV serial, online on youtube, Vol 1-8, All episodes 1-47
- Spouse visa, wife visa or family visa, Bring your spouse together with you while coming to Italy
- Jawahar Navodaya Vidyalaya Rajsamand, My feelings and emotions for JNVR
- Tabrio Hack to multiply your credits by registering same phone number
No comments:
Post a Comment