Autowiring not working

General discussions about MagicDraw

Moderator: Moderators

Autowiring not working

Postby John S » Wed Nov 21, 2018 11:25 am

Hello,

1. Could you please let us know why the Autowiring in the attached model doesn't work ? Both ports have the same interface and the interface has inout flow. See picture below in [1]
2. In some cases we have noticed that if 2 ports have different names the auto-wiring doesn't work but once we choose the same name for the ports it works. Is that a requirement to have the same port names or a Bug?

Note: The Documentation doesn't mention anything about the port name need to be the same:

https://docs.nomagic.com/display/SYSMLP ... g+function

•Parts and ports are displayed on the Internal Block diagram pane.
•The displayed ports are Proxy Ports or Full Ports.
•Ports are typed by Interface Blocks that have flow properties defined.
•Types and directions of these flow properties are compatible.
•The Connectors do not exist in the model.

Thanks,
John

[1]
Autowiring.PNG
You do not have the required permissions to view the files attached to this post.
John S
Forum Beginner
Forum Beginner
 
Posts: 67
Posts Rating:0
Joined: Mon Jul 02, 2018 7:52 pm
Full name: John S

Re: Autowiring not working

Postby Rolandas » Thu Nov 29, 2018 5:53 am

Hello,

First thing is you can't create a connector between Blocks, SysML specification states it. You can try create it manually and will not be possible.
Second, you created a IBD diagram without context and displayed Blocks. You need to create IBD with context and create parts that represent your Blocks there. Then auto wiring will work.
About naming issue, we would need to have a look at the project, but i suspect that some properties were possible and automation needed to be sure which to connect.

Regards,
No Magic Support Issue
Rolandas
Customer Support
Customer Support
 
Posts: 226
Posts Rating:15
Joined: Mon Jul 30, 2012 3:59 am

Re: Autowiring not working

Postby John S » Fri Nov 30, 2018 3:09 pm

Hello,

Thank you for the information.

I created an IBD via the Cameo IDE then moved it to the view package. After that I did a drag and drop of the block A and B into it.
So probably Cameo didn't move things that it needs to the view package.

In that case shouldn't Cameo do a check and when the user tries to do a drag and drop of blocks into an IBD don't allow that if whatever it needs is not in the IBD ? Without that it will be very difficult for the user to know what's needed.

Thanks,
John S
John S
Forum Beginner
Forum Beginner
 
Posts: 67
Posts Rating:0
Joined: Mon Jul 02, 2018 7:52 pm
Full name: John S


Return to MagicDraw

Who is online

Users browsing this forum: No registered users and 1 guest