Book a Demo

Author Topic: Access Timeline States via automation?  (Read 2745 times)

dmf

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Access Timeline States via automation?
« on: September 17, 2009, 09:07:09 am »
Can anyone advise me how to read and write timeline states via the automation interface?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13471
  • Karma: +571/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Access Timeline States via automation?
« Reply #1 on: September 17, 2009, 04:19:14 pm »
The timeline itself is an EA.Element, and the states defined on this timeline are in a magic string in the t_xref table.
I could be that you can access them through the Element.properties, but that is uncertain.
If all else fails you can still use Repository.SQLquery to get the magic string from xref and then parse out the states.

Geert