Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

When you use ArcGIS' Project tool it creates a new featureclass. This is awesome, unless the featureclass you projected had been related to twenty-some tables. All of those relationships still point to the original featureclass, but not the new one, as described in this ESRI article. So, does anyone know if there is a good way to point an existing relationship class at a different featureclass without deleting the relationship class?

share|improve this question
    
On further investigation, I realize that I only have to change one relationship per featureclass in this specific case. But I would still like an answer, because I do have the same situation in other cases. –  jvangeld Oct 16 '12 at 22:31

1 Answer 1

Short of mocking with the gdb tables (which is an unsupported option), you have to delete the relationship classes and recreate them. You can do so manually or with a script, but the delete/create cycle still needs to happen.

share|improve this answer
    
Well, yes, my question didn't specify that I wanted to do this without deleting the relationship class. I will clarify. –  jvangeld Oct 18 '12 at 18:11
    
"[..]to point an existing relationship class at a different featureclass without deleting the relationship class?" –  Ragi Yaser Burhum Oct 18 '12 at 18:22
    
Yes, that is exactly what I mean. –  jvangeld Oct 19 '12 at 20:26
1  
You cannot "reassign the relationship without deleting it". FYI I maintained the ESRI GeoDatabase relationship code for 3 years. –  Ragi Yaser Burhum Oct 19 '12 at 22:17

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.