Skip to main content
Question

How to find ObjectClassID for Featureclass

  • October 23, 2018
  • 1 reply
  • 13 views

venu
Contributor
Forum|alt.badge.img+5

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

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

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