During some programming, i ran into the following issue. I want to check what the relation(s) are between two elements. To try and achieve that, i use the following code:
AFNamedCollectionList afRefTypes; afRefTypes = childElement.GetReferenceTypes(parentElement);
(note that the code formatter drops the <> from the line: AFNamedCollectionList<AFReferenceType> afRefTypes;
But unfortunately, the returned collection is empty while the two elements do have a Parent-Child relationship. Any hints?