Sparx Systems Forum
Enterprise Architect => Bugs and Issues => Topic started by: Guillaume on July 05, 2018, 08:12:26 pm
-
Working on a diagram, I have a port on a SysML Block that I'd like to copy/paste on another Block.
I select the port from the diagram -> Ctrl + C
I select the target block and press Ctrl + Maj + V
I get the following error: Error: When pasting embedded elements, the parent element must first exist in the same diagram.
-
You can not copy that as new port. Embedded elements can only be copied to their parent. You need to create a new port instead.
q.
-
As a shortcut (workaround) i create a generalization connector between the blocks and use the 'owned / inherited' option to copy the ports across.
-
I was thinking of dragging a port from the browser. Just like you can do with attributes/operations which creates a new copy in the other class. But for ports that does not work. Might be worth asking for a feature extension here.
q.