Thank you for your question.
You can use ADR API IAdComparator to implement this functionality programatically. Please refer to API documentation for more information.
Any further questions please let me know.
Herbert He
SW Engineer
PSEB-GE- ACRD PSEB
Autodesk, Inc.