Skip to main content
Question

How to find ObjectClassID for Featureclass

  • October 23, 2018
  • 1 reply
  • 12 views

venu
Contributor
Forum|alt.badge.img+5
  • Contributor

Hi All,

How to find ObjectClassID from Filegeodatabase for Featureclass and How to write with same or desired ObjectclassID.

This value I need to write as attribute value.

Thanks

Venu

1 reply

david_r
Celebrity
  • October 23, 2018

I wonder if you'll have to use Python, and more specifically arcpy, for this.

A quick search turned up the following command which should return the ObjectClassID:

arcpy.Describe("<layer name>").DSID

It should be relatively easy to retrieve this value into a feature attribute using a PythonCaller.

Documentation here: http://pro.arcgis.com/en/pro-app/arcpy/functions/dataset-properties.htm


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings