Book a Demo

Author Topic: Automatic arrangement of composite elements(ports)  (Read 3610 times)

saravanadharshan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Automatic arrangement of composite elements(ports)
« on: February 11, 2014, 07:25:45 pm »
Hello There,

Currently we have a feature where we layout the diagrams automatically.

Is there a similar feature where we can auto allign the composite elements(ports, interfaces) inside the components.

In composite structure diagram, say we have two ports on top of each other, is there a feature which can make it auto alligned so that everything is visible properly.

Basically the reason why we are looking for this is we are planning to do some automation with respect to this.

Thanks,
Saravana

Helmut Ortmann

  • EA User
  • **
  • Posts: 970
  • Karma: +42/-1
    • View Profile
Re: Automatic arrangement of composite elements(po
« Reply #1 on: February 11, 2014, 08:21:02 pm »
Hello Saravana,

with EA 10.0 I don't know a way to automatically layout embedded elements. I tried it with scripts but it doesn't work.

May be there is a change in EA11 or someone knows the silver bullet.

Helmut
Coaching, Training, Workshop (Addins: hoTools, Search&Replace, LineStyle)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Automatic arrangement of composite elements(po
« Reply #2 on: February 11, 2014, 10:11:21 pm »
With a script you can align elements on a diagram. You need to check the diagram coordinates and modify them accordingly. Ports and other embedded elements do not work with V10. This did work with V9.3 and it was announced to be corrected with V11. I haven't tested the latter.

q.

saravanadharshan

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Automatic arrangement of composite elements(po
« Reply #3 on: February 18, 2014, 10:56:11 pm »
@Helmut Ortmann, qwerty, thanks for your points.
I currently have xml parsing code for one of our automation. I will try to align the elements by altering the diagram element tags.