adornetto

arcpy.Describe(relationshipclass) doesn't include key fields.

Discussion created by adornetto on May 19, 2011
Latest reply on Mar 28, 2017 by PLRXchris
I'm attempting to write a script to read the relationship classes from one geodatabase to another.  These tables have identical feature and object classes.

I should be able to select the relationshipclass in the source, use arcpy.Describe on them and get the parameter I'll need to perform an arcpy.createRelationshipClass_management.  Except the describe does not give me any access Primary / Foreign key information according to the documentation.  Is there away to get these field names because without it I can't recreate the relationship class.

Outcomes