I'm trying for hours to get all connections of an occurrence (CxnOccs) within a macro. I've read the ARIS help page for the Designer class (Macro Object Model) and it doesn't help much:


getIncomingCxns(Model, ConnectableOcc)  -> BaseCxnOcc[]
getOutgoingCxns(Model, ConnectableOcc) -> BaseCxnOcc[]

getTarget(Model, BaseCxnOcc)  -> ConnectableOcc
getSource(Model, BaseCxnOcc) -> ConnectableOcc

Isn't this a loop?

What's the function that gives me the connection occurrences?


Tags: macro