Book a Demo

Author Topic: Element Order in Diagrams  (Read 3239 times)

Gokcen Guner

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Element Order in Diagrams
« on: September 09, 2013, 10:50:45 pm »
Hello,
I've ordered my elements using 'Move Element Up' and 'Move Element Down' buttons in 'Project Browser'. What I want to do is get elements in that order by GetAt(i) method. If this is not possible, via sql query maybe, how can I achieve that?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Element Order in Diagrams
« Reply #1 on: September 10, 2013, 05:02:11 am »
As soon as you use the manual set EA sets the Pos (or TPos) attribute so it reflects the tree order. The browser further orders packages, diagrams, and elements in groups.

q.
« Last Edit: September 10, 2013, 05:02:24 am by qwerty »

Gokcen Guner

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
    • View Profile
Re: Element Order in Diagrams
« Reply #2 on: September 10, 2013, 07:10:45 am »
Whenever I've a question you are my savior :)
Thanks so much.