Author Topic: Table field of Tree Order  (Read 896 times)

PeterHeintz

  • EA User
  • **
  • Posts: 817
  • Karma: +49/-17
    • View Profile
Table field of Tree Order
« on: April 17, 2018, 11:21:55 pm »
Hi,
can anyone point me to the DB field where the tree order (Project Browser) is stored?
Thank you in advance!
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 10596
  • Karma: +232/-194
  • I'm no guru at all
    • View Profile
Re: Table field of Tree Order
« Reply #1 on: April 17, 2018, 11:53:37 pm »
In EA's code. It's a crude mixture of t_package.tpos, t_object.tpos, the object's type and the option "sort features aplha".

q.

PeterHeintz

  • EA User
  • **
  • Posts: 817
  • Karma: +49/-17
    • View Profile
Re: Table field of Tree Order
« Reply #2 on: April 18, 2018, 12:11:01 am »
Danke!

For my use case t.object.tpos is sufficient.
 ;D
Best regards,

Peter Heintz

PeterHeintz

  • EA User
  • **
  • Posts: 817
  • Karma: +49/-17
    • View Profile
Re: Table field of Tree Order
« Reply #3 on: April 18, 2018, 01:11:18 am »
Uhh!
Now I realized that the Matrix feature is overwriting my order somehow, even if “Sort Axis” is not ticked.

The only way to get in my Matrix Source and Target elements in the same order as in the tree, working in my current scenario, I found is, using “Turn On Level Numbering” and tick “Sort Axis”.

Creating an ordered SQL query that is reordered without ticking “Sort Axis” drives me crazy. ::)

Is there a way to tell the Matrix feature, to just use what it gets?
Best regards,

Peter Heintz

qwerty

  • EA Guru
  • *****
  • Posts: 10596
  • Karma: +232/-194
  • I'm no guru at all
    • View Profile
Re: Table field of Tree Order
« Reply #4 on: April 18, 2018, 01:51:14 am »
No idea. Probably not too many people will use it as you do. Try contacting Sparx and see what they say :-/

q.