Returns the relationships that involves two entities: the QBEntity object and the entity represented by the ObjectID property.
QBEntity Object
array = QBEntity.GetCommonRelationships(Entity2)
array
A returned collection of relationships.
QBEntity
An object variable that represents an entity in the model.
Entity2
The other entity that participates in one or more relationships with QBEntity.