Is there a relate function in Arcpy?

1099
5
05-10-2012 01:06 PM
BaileyLipscomb1
New Contributor
I have used the AddJoin_management to create a join. Is there a relate function in Arcpy?
Tags (2)
0 Kudos
5 Replies
JakeSkinner
Esri Esteemed Contributor
Hi Bailey,

Does your data exist within the same geodatabase?  If so, you can use the CreateRelationshipClass_management function to create a relationship class between the two data types.  This creates a permanent association between fields or features in the origin feature class/table and the destination  feature class/table.
0 Kudos
BaileyLipscomb1
New Contributor
Is it possible to perform on a file that is not stored in a Geodatabase?
0 Kudos
JakeSkinner
Esri Esteemed Contributor
Unfortunately not.  Both datasets will need to be in a geodatabase.  Are you working with shapefiles?  Is there something preventing your from converting your data into a File Geodatabase?
0 Kudos
BaileyLipscomb1
New Contributor
Yeah there is a shapefile and csv table.
0 Kudos
JakeSkinner
Esri Esteemed Contributor
Can this date be imported into a File Geodatabase, or is the CSV consistently updated?
0 Kudos