Book a Demo

Author Topic: SysML Blocks Generalization of Flow Properties direction problem  (Read 8955 times)

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
I have a SysML Super Block (interfaceBlock) defining a Flow Property with direction “out”. From this Super Block I derive a Sub Block by Generalization. For the Sub Block I called Structural Elements… to get the Flow Property in the Sub Block as well.
This works, but the direction of the Flow Property of the Sub Block is set to “inout” rather than to “out” as defined in the Super Block. Due to the fact that the Flow Property in the Sub Block is read only the direction cannot be changed.
EA Version 12.0.1250
Best regards,

Peter Heintz

ChB

  • EA User
  • **
  • Posts: 40
  • Karma: +4/-0
    • View Profile
Re: SysML Blocks Generalization of Flow Properties direction problem
« Reply #1 on: April 15, 2016, 06:45:09 pm »
Peter
I can't quite follow your issue and I notice nobody has replied.  Perhaps if I show how I'm trying (and failing) to reproduce and understand your scenario we'll get this thread moving.

In EA 12.1 Sys Eng Ed...
I create a SysML 1.4 Block Definition Diagram.
On that diagram I add a valueType (myType) and an interfaceBlock (myIblk).
In the interfaceBlock I create an out flowProperty of type myType.

I then add both a block and an interfaceBlock (I'm not sure which you're using) and add a generalisation connecter between them and the first block, myIblk (with the arrow at the first block's end).

If I use right-click, Structural Elements, on the two new blocks the flowProperty is shown, in the compartment of the child blocks, as out, not inout as you describe.

However, via the Properties dialog for the two new flowProperties, in the Tags tab, I see inout shown.


Is this what you're doing Peter?  Does my scenario demonstrate your issue?


PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: SysML Blocks Generalization of Flow Properties direction problem
« Reply #2 on: April 15, 2016, 11:33:58 pm »
Hello ChB,
yes, that is he problem I have.
I seems that when the structural elements are created the direction is set to a default value inout rather than to the value of the used in myIblk.
Best regards,

Peter Heintz

Guillaume

  • EA Practitioner
  • ***
  • Posts: 1405
  • Karma: +42/-2
    • View Profile
    • www.umlchannel.com
Re: SysML Blocks Generalization of Flow Properties direction problem
« Reply #3 on: June 07, 2016, 05:15:11 pm »
Have you logged it as a bug to Sparx?
Guillaume

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


PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: SysML Blocks Generalization of Flow Properties direction problem
« Reply #4 on: June 07, 2016, 05:39:48 pm »
As I remember yes.
But I did not find any response from Sparx in my mailbox.
So I will post it again.
Best regards,

Peter Heintz

PeterHeintz

  • EA Practitioner
  • ***
  • Posts: 1001
  • Karma: +59/-18
    • View Profile
Re: SysML Blocks Generalization of Flow Properties direction problem
« Reply #5 on: June 08, 2016, 10:52:15 pm »
I verified that this is solved latest with build 1230.
Best regards,

Peter Heintz