3

I would like to know if it is possible detect relates in an MXD using arcpy.

Similar problem as the question below, but for relates instead of joins.

Detecting Join programmatically using ArcPy?

More specifically, relates listed in the "Joins & Relates" tab of the "Layer Properties" and not geodatabase "Relationship Classes".

I have checked the ArcGIS documentation and have done several Google searches without any luck.

1 Answer 1

4

The short answer is no, not without accessing arcobjects. You would need to install comtypes module to access the interface that would return that information.

1
  • That's what I was afraid of. Commented Feb 18, 2016 at 18:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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