Book a Demo

Author Topic: Synchronizing ports ibd <-> bdd  (Read 7144 times)

Architetto

  • Guest
Synchronizing ports ibd <-> bdd
« on: January 24, 2018, 02:56:18 am »
Hi guys,

I have two questions:

1. I'm wondering if there is a way to synchronize ports and connectors between parts in the ibd and the corresponding blocks?
I know that within the ibd I can synchronize structural elements, but is there a possibility to synchronize in the other direction? More precisely if I add ports and connectors in the ibd cann I add them to the corresponding block?

2. Within a bdd I can link from a block to the corresponding ibd (lying eight symbol). Is there also a way to link from a part within an ibd to the ibd of this part?

Thanks a lot for your help. Regards

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1000
  • Karma: +58/-18
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #1 on: January 24, 2018, 03:15:03 am »
Hi Architett,
1) No, You can only synchronize from BDD to IBD but not in the other direction (at least out of the box).
2) I do not exactly understand what you want to link to what. In general EA is very lax in forcing you to only apply UML conform links. In other words, EA basically allows you to “link” anything with anything (more or less).
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #2 on: January 24, 2018, 07:56:53 am »
You can make any element composite by right-clicking (in a diagram) and choosing New Child Diagram/Select Composite.

q.

Architetto

  • Guest
Re: Synchronizing ports ibd <-> bdd
« Reply #3 on: January 24, 2018, 06:46:56 pm »
@PeterHeintz: Thanks for answering the first question. I try to better explain the second question: I have an ibd - let's call it ibd1 - that shows various parts and their connection. Every part has a correspondig block in the project browser. This block has an ibd itself, named ibd2. Now I was wondering if there is a possibility to link (lying eight symbol) from the part in ibd1, to the ibd2 of the corresponding block. Think it is not as complicated as it sounds  ;)

@qwerty: sorry but I don't have that context menu if I right-click in the ibd.
« Last Edit: January 24, 2018, 06:56:41 pm by Architetto »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #4 on: January 24, 2018, 08:00:19 pm »
Vice versa! You need to click the element to select the diagram.

q.

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1000
  • Karma: +58/-18
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #5 on: January 24, 2018, 08:24:24 pm »
Ok! Now I got you!

For almost anything you need to select the element, open the context menu, select "New Child Diagram" and select "Select Composite Diagram".

But for whatever reason, these context menu items are not there for SysML properties. My workaround is to put diagram links in my IBD.
Best regards,

Peter Heintz

Architetto

  • Guest
Re: Synchronizing ports ibd <-> bdd
« Reply #6 on: January 24, 2018, 08:59:33 pm »
Vice versa! You need to click the element to select the diagram.

q.

I right click on the part in the ibd1, right? If I do so I get no such context menu.
The block that corresponds to that part already has the child diagram ibd2 but I don't have the possibility to jump from the part in ibd1 to the ibd2.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #7 on: January 24, 2018, 09:42:52 pm »
Unfortunately I don't have SysML installed. So I'm out...

q.

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1000
  • Karma: +58/-18
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #8 on: January 24, 2018, 10:59:11 pm »
Yes, that is my message, when you right click, on most elements like a SysML Block or a Class you get the context menu I described.

But when you do the same on a property or part you do not get that menu. This is just a fact, I have no idea why.
So you cannot achieve what you want.

My workaround is to use diagram links. Just drag and drop your ibd2 to idb1 and select Type "Hyperlink".

There are other features to navigate to ibd2. E.g select the property, select in context menu "Find/Locate Property Type in Project" and then at least you are very closed to ibd2.
 
Best regards,

Peter Heintz

Architetto

  • Guest
Re: Synchronizing ports ibd <-> bdd
« Reply #9 on: January 25, 2018, 01:25:42 am »
Then I got you right. Thanks a lot for your help. Hopefully Sparx will implement this feature in the next version. Is there a formal way to request a feature or just writing an Email?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #10 on: January 25, 2018, 01:40:38 am »
It seems to be a limitation with EA that it allows composite only for elements. Might be worth a feature request to allow parts too.

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13496
  • Karma: +572/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Synchronizing ports ibd <-> bdd
« Reply #11 on: January 25, 2018, 02:32:49 am »
If you really want to you can probably work around the limitation.
I've seen that the composite mechanism if you set it using the API, even if the element type doesn't allow it in the GUI.
You might be able to do this in the GUI as well by changing the element type to Class, set the composite diagram, and then change it back to the original element type.

In order to send in a feature request you can use the link on the bottom of the page:  http://www.sparxsystems.com/support/forms/feature_request.html

Geert

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Synchronizing ports ibd <-> bdd
« Reply #12 on: January 26, 2018, 07:41:32 am »
Hi,

Have you tried Custom Reference? Find, Custom Reference (Strg+J).

If I have understood you correctly, you have an algorithm to find the diagram for the part. If so you can use:
- Script / AddIn
- Search (SQL+Addin-Search)

Best regards,

Helmut

Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)