How to distinguish REP and RPL? I haven’t found the properties of them.
You need to get CatalogElement that reference your object. To do this you can use the eInverse() service:
myElement.eInverse(re::CatalogElement)
Then on the CatalogElement:
myCatalogElement.kind == re::CatalogElementKind::REC
or
myCatalogElement.kind == re::CatalogElementKind::RPL
1 Like