Add connector between proxyports with Rhapsody Java-Api
Hello,
I'm having problems creating a connector between 2 proxy ports.
The code works for non-nested proxy port (between J1 and J2):
IRPInstance fromPart = theformPart;
IRPPort fromPort = thefromPort;
IRPInstance toPart = thetoPart;
IRPPort toPort = thetoPort;
theDevice.addLink(fromPart, toPart, null, fromPort, toPort);
but when I apply the code for nested ports (between J1.power and J2.power) I get an error.
Any ideas how it works for nested Ports?
ThanksĀ
Dieter