Question

How to find ObjectClassID for Featureclass

  • 23 October 2018
  • 1 reply
  • 1 view

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

Userlevel 4

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

Reply