Book a Demo

Author Topic: Nested Ports behaviour when copying to clipboard  (Read 5673 times)

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Nested Ports behaviour when copying to clipboard
« on: April 20, 2016, 07:44:42 pm »
I have an Internal Block Diagram containing parts that own nested proxy ports. I am trying to copy this diagram to the clipboard and so I select the entire diagram. When I do this, all those ports that are vertically orientated randomly rotate through 90 degrees. If I select another diagram and then go back to the IBD, the ports are back how they should be... Weird...

Has anyone else encountered this?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Nested Ports behaviour when copying to clipboard
« Reply #1 on: April 20, 2016, 08:00:50 pm »
I don't have SysML, but know that ports have been handled incorrectly from automation in the past. You should send a bug report.

q.

ChB

  • EA User
  • **
  • Posts: 40
  • Karma: +4/-0
    • View Profile
Re: Nested Ports behaviour when copying to clipboard
« Reply #2 on: April 20, 2016, 08:15:55 pm »
I think I have reproduced the symptoms you describe (or similar symptoms) and it might be related to this thread regarding the width/height of ports containing other items (e.g. other ports or interfaces): http://sparxsystems.com/forums/smf/index.php/topic,30558.msg222464.html#msg222464

If you resize your blocks and parent ports to be "plenty big enough" in width and height, and move the ports away from the corners of their parent does the symptom go away?

What I've reproduced just now is nested ports moving from a side edge (in the original diagram that I'm copying from) to the bottom edge (when pasted into a new diagram). Are yours moving in the original diagram as you do the copy copy (not when doing the paste)?

Polymorph

  • EA User
  • **
  • Posts: 136
  • Karma: +4/-0
    • View Profile
Re: Nested Ports behaviour when copying to clipboard
« Reply #3 on: April 20, 2016, 08:23:28 pm »
Yes, it seems that turning on the custom port sizing option and then oversizing the owning port stops the ports from flipping their orientation. Nice to know how to stop it. I'll submit a bug report now...