Describe method for ObjectID

Discussion created by babakkasraie on Mar 13, 2013
Latest reply on Mar 14, 2013 by babakkasraie
I know how to use describe method when there is an FID field in layer's attribute table.

I use the following codes

   # describe the feature layer to access the the selected set
      desc = arcpy.Describe(lyr)
   # FIDSet will contain the selected features
      selectedFids = desc.FIDSet

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.