I know how to use describe method when there is an FID field in layer's attribute table.
I use the following codes
But when a layer is added to a map from a GeoDatabase it has an ObjectID* fields instead of FID.
How can I describe an OBJECTID* field usng describe method?
I appreciate if somebody helps me.
Thanks
Babak
I use the following codes
Code:
# describe the feature layer to access the the selected set
desc = arcpy.Describe(lyr)
# FIDSet will contain the selected features
selectedFids = desc.FIDSet
How can I describe an OBJECTID* field usng describe method?
I appreciate if somebody helps me.
Thanks
Babak