Append M-N Relationship Table with Python

324
0
05-09-2019 09:27 AM
EdwardBlair
Occasional Contributor

Hi -

Am trying to append the contents of an M-N relationship table in one Geodatabase to an identical table in another Geodatabase using Python.  I had thought that since there is a table that holds foreign keys for the related features that an Arc Python APPEND would work as it does with other tables.  But apparently not so.

The code is basically this:

classes = ["RelClassName1","RelClassName2"]

for className in classes:

    arcpy.Append_management(class, os.path.join(outputWorkspace, className), "TEST")

If the classes are actually tables this works fine.  If they are m-n relationship class names it doesn't.

Any suggestions would be much appreciated.

Thx,

Ed

0 Kudos
0 Replies