Author Topic: SysML inherited parts and values?  (Read 2903 times)

davor

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
SysML inherited parts and values?
« on: November 06, 2024, 03:03:30 am »
How do I get the inherited parts and values from A to show in B? EA 17.


Guillaume

  • EA Practitioner
  • ***
  • Posts: 1374
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: SysML inherited parts and values?
« Reply #1 on: November 13, 2024, 06:42:15 pm »
Hi,

SysML parts and values are sub-elements of block A and EA doesn't seem to support inheritance on these.
I noticed that it is not limited to the BDD since it also applies to the internal block diagram (e.g. if you create one for block B in your example).
The only workaround I identified so far involves duplicating the parts and values from block A to block B so they are visible and manageable in both diagrams. These copies are however not binded with block A definitions (values and composition links). A custom script, addin or model-based addin could be defined to cover the missing behaviour.
Guillaume

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


davor

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: SysML inherited parts and values?
« Reply #2 on: November 14, 2024, 07:45:51 pm »
It is weird. Not to say buggy and awful.

Start with this, SysML BDD... Doesn't show inherted part in B. As previously mentioned.
 


Browser view. No weird.



Show Features -> Part/Properties. "Show owned/inherited". Part is shown, Owner is A.



Clicking the checkbox next to name. Changes the owner to B and adds an instance of Part to B. Or so it seems.



B now shows a compartment properties. Not parts. Because parts requires a composition link to B.



Here is the browser view.



Change part type.



HMM? So it inherited? Or? How to know this? Where is this conveyed?



Note, to get this updated in the BDD, you need to close it and load it again (just reloading is not enough).


davor

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: SysML inherited parts and values?
« Reply #3 on: November 14, 2024, 07:56:34 pm »
Mmm...



Validation complete - 0 error(s), 0 warning(s)