I'm trying to query objects related to objects and satisfying some query in ArcObjects. IRelationshipClass interface contains methods for getting all related objects but how can one filter them? I don't believe that such ability doesn't exist.


Have a look at the IRelationshipClass2 interface, this has a method GetObjectsMatchingObjectSetEx which allows you to place a queryfilter.

  • Unfortunately IRelationshipClass2 .GetObjectsMatchingObjectSetEx throws Not implemented exception in ArcGIS 10.1. – Eduard Lepner Aug 26 '13 at 10:56
  • That new information would be useful for you to edit into your question, or to raise as a new question. – PolyGeo Sep 26 '13 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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