Book a Demo

Author Topic: Port visibility in a diagram  (Read 3438 times)

Steve NZ

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Port visibility in a diagram
« on: July 16, 2013, 09:22:56 am »
How do you programmically set the visibility of an embedded element (e.g. port) in a diagram ?

in the same way that the GUI has the structural element dialogue to show / hide ports ?



qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Port visibility in a diagram
« Reply #1 on: July 16, 2013, 04:59:10 pm »
You remove it from or add it to DiagramObjects. Note that adding it programmatically is broken from V10 on (worked in 9.3) as the supplied coordinates are not respected and the port is placed "somewhere" at the border of its parent.

q.