Book a Demo

Author Topic: SysML 1.5 Block parts compartment shows blocks on the diagram?  (Read 4027 times)

FlunkStort

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
I was under the impression that if I have a diagram with "Block A" on it and "Block B" and "Block C" as child parts (composition relationship) to Block A, if Block C is removed from the diagram, then the parts compartment should should show only Block C (since Block B is on the diagram it doesnt need to be shown in the compartment).

But in v16 (and in 15.2 before that), the parts compartment shows all blocks, whether they are displayed on the diagram or not. Is this intended?

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: SysML 1.5 Block parts compartment shows blocks on the diagram?
« Reply #1 on: May 20, 2022, 07:54:59 am »
A part is not a block, it's a property typed by a block. So showing or hiding a block won't have any effect on parts compartments.
The Sparx Team
[email protected]

FlunkStort

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
    • View Profile
Re: SysML 1.5 Block parts compartment shows blocks on the diagram?
« Reply #2 on: May 25, 2022, 10:23:20 pm »
Hmmmm... that makes sense to me. I guess I was hoping to be able to suppress specific parts within a block when I show the part's corresponding block on the diagram to avoid redundancy. (Why would I show only some of the "child" blocks? Because they have parts I want to show on this diagram, but I dont want to show every child to avoid clutter.)

I see that you can suppress various things on the diagram properties dialog, but parts is not one of them I guess.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: SysML 1.5 Block parts compartment shows blocks on the diagram?
« Reply #3 on: May 26, 2022, 05:29:05 pm »
You need to create different diagrams (aka views) to show/hide features. Usually the latter are layed out more dense.

q.