Select to view content in your preferred language

Copying ArcSde related table to file geodatabase

606
3
07-16-2012 05:55 PM
ShazadTareen
Deactivated User
Can some help me in using Python to copy feature and associated related tables to file geodatabase ( without losing the relationship). I am using ArcGIS 10
Thanks
0 Kudos
3 Replies
EricMcPhee
Regular Contributor
Use
arcpy.Copy_management(in_data, out_data)

If you specify your featureclass as in_data, any related tables and relationship classes will be copied along with it.
0 Kudos
ShazadTareen
Deactivated User
Use
arcpy.Copy_management(in_data, out_data)

If you specify your featureclass as in_data, any related tables and relationship classes will be copied along with it.


Thanks very much for the reply. I tried this before and it is just copying the feature class and related table but no releationship class.
Thanks
0 Kudos
DanRose2
New Contributor

Shazad Tareen‌, did you find a resolution to this? I'm having a similar issue... the feature class and the relationship is coming over, but not the table...

Dan

0 Kudos