Book a Demo

Author Topic: How to create operations and receptions in a block using SysML?  (Read 3523 times)

jackholdon

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
How to create operations and receptions in a block using SysML?
« on: February 18, 2018, 05:05:03 am »
I was wondering how can I create operations and receptions in a block in a block definition diagram so they look like in the SysML specification, example from the official SysML spec:

https://imgur.com/MpXYTie

My questions are:

1 - I am able to create operations by right clicking the block and in the operations menu, however is it possible to make the block display the operations compartment name?
2 - How do I create receptions? I've tried to add the signal stereotype to operations I have created with the same name as already existing signals but when trying to assign the signal stereotype to the operations in the operation creation window the signal stereotype doesn't seem to be included in the SysML 1.4 set of stereotypes.
3 - How can I make the block display the receptions compartment name?

Thank you for your time.
« Last Edit: February 18, 2018, 05:06:48 am by jackholdon »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: How to create operations and receptions in a block using SysML?
« Reply #1 on: February 18, 2018, 10:49:57 am »
You need to write a shape script to create such an appearance. You can add custom compartments. I'm not sure about the operations which usually have their pre-defined and un-named compartment.

q.