Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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

0 votes


Be the first one to answer this question!

Register or log in to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 418
× 30

Question asked: Apr 22 '24, 11:52 a.m.

Question was seen: 854 times

Last updated: Apr 22 '24, 11:52 a.m.

Confirmation Cancel Confirm