Book a Demo

Author Topic: Is there an easy way to quickly add many ports to a SysML block?  (Read 2929 times)

maaroe

  • EA Novice
  • *
  • Posts: 5
  • Karma: +1/-0
    • View Profile
Some tasks in EA are quite repetitive and seem like they could be improved.

One thing, I've come across is adding (many) ports to SysML Blocks. Currently, this seems to consist of dragging a Port from the Toolbox to the block in either the Explorer or in a diagram view.

Is there a way to easily add, say, 10 ports to a block?

I'm thinking something along the lines of a table editor so I can specify the port name as well, but I'm sure people with better UX understanding could imagine other solutions, so maybe something already exists.

Similarly, a quick way of making associations between blocks and sub-blocks would be useful rather than simply using the mouse. If you have 20 blocks and all have to have a "Composition to Whole" association to a parent block, doing it by mouse dragging the arrow cursor and then choosing the association type each time seems slower than needed.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Is there an easy way to quickly add many ports to a SysML block?
« Reply #1 on: July 06, 2022, 09:54:51 pm »
There are many ways to do stuff like that.

For connectors, you can use either the relationship matrix, or use F3 to repeat the last connector type.

For ports, I think you can either duplicate them by selecting them and then Ctrl-drag them a few pixels.
Or you might want to look into the specification view. I think you should be able to add ports there as well.

Geert