Find the relative replica in script

206
0
07-02-2014 09:32 AM
Highlighted
Frequent Contributor II
Is there a way to find the relative replica of a replica in a script?  Synchronize Changes tool needs the name of the relative to sync to.  Instead of having the user pick I want to find it myself. 

When running the Synchronize Changes tool through a right click it seems to know where the relative is - even though you can change it, it does default to the correct location.  I can not find any properties that tell me this.  Where is it getting this value and how can i get it?

ListReplicas gives me the name of the replica but not where the check out replica came from.

Any ideas?

--------------------- code
replica_gdb2 = ???

arcpy.SynchronizeChanges_management(replica_gdb1, replica_name, replica_gdb2, sync_direction, conflict_policy, conflict_detection, reconcile)


Thanks
Reply
0 Kudos
0 Replies