Book a Demo

Author Topic: SysML Block properties & references multiplicity  (Read 9803 times)

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
SysML Block properties & references multiplicity
« on: January 26, 2017, 02:12:28 am »
Hi,

I defined a SysML block definition diagram with my main block and parts via compositions. A role name + multiplicity is defined on each composition
As a result a properties compartment shows up on the block with the associated role + block name

Other SysML modelling tools also display the multiplicity; could this be displayed via an option?

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: SysML Block properties & references multiplicity
« Reply #1 on: January 26, 2017, 04:54:25 pm »
Hi Guillaume,

EA 13 does so.

You may create a composition with Blocks and
- Role name
- Multiplicity
on the composition association.

When you drag the Block onto the IBD (Internal Block Diagram) as Property (Property created by EA during Drap and Drop), EA generates the property name from Role name and multiplicity of the composition.

Changing the Property name has no effect on Role/Multiplicity. Because of the one direction synchronization, you have to be careful.

Kind regards,

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

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: SysML Block properties & references multiplicity
« Reply #2 on: January 26, 2017, 06:27:51 pm »
Hi Helmut,

I'm looking at displaying multiplicity on the BDD which I don't think is available.

Thanks
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: SysML Block properties & references multiplicity
« Reply #3 on: January 26, 2017, 10:47:50 pm »
Hi Guillaume,

I see the multiplicity of the Class/Block, if set, on my Block and my Class diagram (EA13).

Set via, Advance, Multiplicity,

Have I something missed?

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

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: SysML Block properties & references multiplicity
« Reply #4 on: January 28, 2017, 02:02:51 am »
Hi,

Given the BDD on the following url: http://www.umlchannel.com/en/sysml/item/210-synchronize-ports-parts-sysml-ibd-diagram-sparx-enterprise-architect-addin-hotools

I'd like to be able to show on SystemBlock within the properties compartment
partA : BlockA [1]
partB : BlockB [1]


thanks,
Guillaume

Blog: www.umlchannel.com | Free utilities addin: www.eautils.com


Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: SysML Block properties & references multiplicity
« Reply #5 on: January 30, 2017, 04:55:13 pm »
Hi Guillaume,

Thanks for the explanation. I got the picture.

I'll look how to implement it in hoTools. Achieving synchronization should be an easy task. Probably you see it in next hoTools release.

Kind regards,

Helmut

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

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: SysML Block properties & references multiplicity
« Reply #6 on: February 20, 2017, 05:15:33 pm »
Hi Guillaume,

sorry I was wrong.

You may change the multiplicity of a Part to see the multiplicity in the diagram. It works, at least in EA13.

Atomatically changes the Part multiplicity from the block multiplicity looks for me as a not too good idea.

Kind regards,

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