Displaying a part and its connectors in an IBD

Diagramming issues

Moderator: Moderators

Displaying a part and its connectors in an IBD

Postby jprichardson@dcscorp.com » Tue Nov 10, 2015 12:34 pm

I am modeling a system in SysML that has about 12 top-level subsystems, with a large number of connectors among them. A complete IBD of the system is too cluttered to be useful, so I'd like to create one IBD per subsystem X, showing X, any parts it is connected to, and ONLY the connectors between X and the other parts, not connectors between the other parts.
I can create such a diagram manually by dragging X and the related parts into the IBD, but that brings in connectors between the other parts, which must be manually deleted.

Is there an easier way? I tried right-clicking X and selecting Related Elements->Display Related Elements, but nothing is added to the diagram.

Thanks.
jprichardson@dcscorp.com
Forum Beginner
Forum Beginner
 
Posts: 65
Posts Rating:0
Joined: Tue Aug 19, 2014 2:14 pm
Full name: Jim Richardson

Re: Displaying a part and its connectors in an IBD

Postby ieva.n » Thu Nov 12, 2015 8:40 am

Hello,

Could you please provide more information, so we could investigate your issue deeper? What is the version of MagicDraw (or Cameo Systems Modeler) that you are using? Could you please attach the log file? The sample project file (or at least the screenshots of situation) would really help to address this problem, as currently we do not have enough information to provide informed advise.

Waiting for your response,
No Magic, Inc. Customer Support
ieva.n
No Magic
No Magic
 
Posts: 369
Posts Rating:38
Joined: Thu Aug 02, 2012 5:02 am
Full name: Ieva

Re: Displaying a part and its connectors in an IBD

Postby jprichardson@dcscorp.com » Thu Nov 12, 2015 9:27 am

I am using MD 18.1. I enclose a file with two simple examples: one has connectors directly between the subsystems, and one uses ports on the subsystems, with connectors between the ports. The behavior I described occurs only for the example with ports.

Each example has a BDD: bdd_Sys, a complete IBD: ibd_Sys, and an IBD: ibd_A_Connectors meant to feature SubsysA and its connections with other systems.

For each example, in creating ibd_A_Connectors, I do the following:

--create a blank IBD (no parts)
--drag part a into the IBD
--right-mouse-click part a and select Display Related Elements. For the non-port example, it brings in parts b, c, and d, and ONLY their connectors with a. This is what I want. When I do this with the example with ports, Display Related Elements brings in nothing, regardless of whether I perform that operation on part a or its ports. If I manually drag in parts b and c, I get not only the a-b and a-c connectors, but also the b-c connector. I don't want the b-c connector to come in.
You do not have the required permissions to view the files attached to this post.
jprichardson@dcscorp.com
Forum Beginner
Forum Beginner
 
Posts: 65
Posts Rating:0
Joined: Tue Aug 19, 2014 2:14 pm
Full name: Jim Richardson

Re: Displaying a part and its connectors in an IBD

Postby ieva.n » Fri Nov 13, 2015 8:12 am

Hello,

Thank you for attached file. It helped to understand your problem. Indeed, we have such request registered to our features list, however the timeframe for implementation is not defined yet.

Could you please let us know, if you are dragging parts b and c together with part a at the last step? I successfully got only connections to part a, when I displayed only part a with ports firstly, and then selected parts b and c and dragged them to the diagram. Only the connectors to ports of part a was displayed.

If you want to drag all the parts to the empty diagram and do not get the relations between them, you can turn off the automatic display of paths on elements drop. To do so, from main menu select Options > Environment > Diagrams, and set the property "Display Paths on Element Drop" to false. Do not forget to reload the application for changes to take effect.

Another way I got to display the paths was when all the parts were already on diagram, select only the ports of part a (you can use the "Complete coverage mode for group selection" button on diagram pallet - it allows selecting only elements which are completely inside selection rectangle) and choosing "Display Related Elements > Display Paths" from context menu. Only when the message appears "Do you want to display paths only between the selected symbols?", select "No". The paths are displayed from selected ports to any other symbols, already existing on diagram.

Please excuse us for the inconveniences.

Sincerely,
No Magic, Inc. Customer Support
ieva.n
No Magic
No Magic
 
Posts: 369
Posts Rating:38
Joined: Thu Aug 02, 2012 5:02 am
Full name: Ieva

Re: Displaying a part and its connectors in an IBD

Postby BRBlatchley » Thu Sep 02, 2021 2:03 pm

As of September 2021, 19.0 SP4, Cameo does not display existing connections between ports on an IBD when so directed. How do we do this? There does not seem to be a way to display a given connection on more than one diagram. Our team is having to duplicate connections between existing ports which totally violates the principle of defining an element once and using its definition wherever it is needed.

Here is a simple example:

1. Create a BDD with 3 blocks: System, SysA, and SysB.
2. Add a port (standard or proxy, doesn't matter) to both SysA and SysB.
3. Add SysA and SysB as Part Properties to System.
3. Create an IBD of System.
4. Add SysA and SysB Part Properties to the IBD, showing their ports.
5. Draw a Connection between SysA 's port and SysB's port.
6. Create another IBD of System.
7. Add SysA and SysB Part Propteries to the IBD.
8. Select SysA and SysB, right-click and invoke the Display Parts/Ports dialog.
9. Select All ports.
10. Ensure Show Connectors is checked.
11. OK the dialog.
12. Be disappointed when the ports show-up, but not the established Connection between them.
13. Be further frustrated when there seems to be no way to show the existing Connection these ports.

So, what I am doing wrong here?



The Display Parts/Ports dialog has a checkbox to "Show Connectors" which is ignored.
User avatar
BRBlatchley
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:1
Joined: Mon May 24, 2021 3:03 pm
Full name: Brettany Renée Blatchley

Re: Displaying a part and its connectors in an IBD

Postby alfgarciacasado@gmail.com » Thu Dec 16, 2021 2:58 am

@BRBlatchley Once you have your ports selected, then you can do the following:
1- right-click on one of the selected ports.
2- click on Display > Display In-Between Paths.

If any connectors were hidden, they will appear now.

BR,

Alfonso
alfgarciacasado@gmail.com
Forum Newbie
Forum Newbie
 
Posts: 3
Posts Rating:1
Joined: Thu Dec 03, 2020 2:57 am

Re: Displaying a part and its connectors in an IBD

Postby emoser@bellflight.com » Mon Feb 07, 2022 11:17 am

Project > General > UPDM > SysML compliance mode (set to true)

If the connector is built with this setting as true, the connector will display on other IBDs. If it is set to false, the connector will not display on other IBDs. Any connectors built with the wrong setting need to be rebuilt.

Project setting is not "set once and forget it" - at least in TWC and should be checked after each commit.
emoser@bellflight.com
Forum Newbie
Forum Newbie
 
Posts: 2
Posts Rating:1
Joined: Thu Mar 28, 2019 3:26 pm


Return to Diagramming

Who is online

Users browsing this forum: No registered users and 0 guests