Book a Demo

Author Topic: Model version number  (Read 2512 times)

hende

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Model version number
« on: April 09, 2020, 01:16:03 am »
Hi,

I was wondering if there is a way to store model version number in an EA project?
I do not need the version control functionality (it is managed manually), only something similar to a global attribute.
Thanks in advance.

Robert

vladap

  • EA User
  • **
  • Posts: 79
  • Karma: +0/-0
    • View Profile
Re: Model version number
« Reply #1 on: April 09, 2020, 01:17:31 am »
We are solving this with the baseline version number of the all model.

Uffe

  • EA Practitioner
  • ***
  • Posts: 1859
  • Karma: +133/-14
  • Flutes: 1; Clarinets: 1; Saxes: 5 and counting
    • View Profile
Re: Model version number
« Reply #2 on: April 09, 2020, 02:13:19 am »
Hi Robert,

It's a little bit of a hack but there is a table called t_constants, with two columns ConstantName and ConstantValue.
I'm not aware of a GUI to manipulate this table, and I'm not aware of any functionality that uses it. With a simple script you'd be able to add your global version there and I don't think it'd interfere with anything else.

HTH,


/Uffe
My theories are always correct, just apply them to the right reality.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Model version number
« Reply #3 on: April 09, 2020, 02:30:25 am »
I once thought about using package.notes from the root. The UI does not allow to edit it, but it should be accessible via a SQL.

Honestly I never tried it since the need for it never got concrete.

q.

P.S. Just tried that. You can even access the notes via the API and EA won't show anything in the root notes.
« Last Edit: April 09, 2020, 02:36:18 am by qwerty »

hende

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Model version number
« Reply #4 on: April 09, 2020, 09:33:05 pm »
Thank you for the prompt answers.
I'm gonna try your suggestions.

Robert