Book a Demo

Author Topic: SysML BDD diagram: How to make blocks display Attribute compartment regardless  (Read 4474 times)

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
Hi all,
An aesthetics question...
With regards to SysML BDD diagram blocks, is there any way of forcing the block to display the Attributes compartment even through I have not defined any attributes, i.e., to make the block display an empty compartment?
Thanks
Avi

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Not an SysML specialist but if I'm not wrong then the SysML specs are very strict in what shall be shown. And further the MDG for SysML seems to be strict in implementing those constraints. In other words: probably not possible.

q.

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
The engineer originally drew the class diagram in that specific way using Visio or something, and I just wanted to be able to reproduce the diagram in EA exactly that same specific way he drew it. I would rather not have to tell him, sorry EA doesn't do that...

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
I would rather not have to tell him, sorry EA doesn't do that...
If he produced a nonsensical diagram, that is the answer. Even though EA is very flexible with what it allows, a diagram is still just a representation of the base model information, not a drawing. In that sense, yes Visio is more flexible. Diagrams are just drawings and don't have to follow any rules.

Edit: Fixed my unintentional double negative. Thanks qwerty.
« Last Edit: March 10, 2022, 08:20:18 am by Eve »

philchudley

  • EA User
  • **
  • Posts: 750
  • Karma: +22/-0
  • EA Consultant / Trainer - Sparx Europe
    • View Profile
SysML Blocks do not have attributes they have Value Properties (values compartment)

In EA v 15.2 the attributes compartment is turned off, so even if you added an attribute to a block it would not be visible, unless of course you made the attribute compartment and all attribute visibility visible. You cannot have an empty attributes compartment since EA forces each attribute to have a name of at least one character which is not a space.

Phil
Models are great!
Correct models are even greater!

avi10000

  • EA User
  • **
  • Posts: 201
  • Karma: +0/-0
  • Programmer/Writer
    • View Profile
Thanks guys for the answers.
Avi