Book a Demo

Author Topic: Undocumented property Defaults for PropertyTypes  (Read 4078 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Undocumented property Defaults for PropertyTypes
« on: February 04, 2015, 04:03:39 am »
According to http://stackoverflow.com/questions/28282750/how-to-set-an-initial-value-for-an-enumeration-entry-in-enterprise-architect-usi/28295184?noredirect=1#comment44948911_28295184 there seems to be an undocumented Default property. I guess it's an oversight that it is missing in the help. Could someone from Sparx (Roy?) please comment?

q.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Undocumented property Defaults for PropertyTyp
« Reply #1 on: February 04, 2015, 05:28:33 pm »
Seems to me like it is documented allright:
http://www.sparxsystems.com/enterprise_architect_user_guide/11/automation_and_scripting/attribute.html
Quote
Default | String | Read/Write | The initial value assigned to this attribute.
Or am I missing something?

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Undocumented property Defaults for PropertyTyp
« Reply #2 on: February 04, 2015, 08:37:54 pm »
Maybe I got something wrong about the question on SO but I thought that guy was talking about the Default Tagged Values and how to set the default for an enum. Obviously I was wrong here and he was talking about attributes. It was probably too late.

q.
« Last Edit: February 04, 2015, 08:39:07 pm by qwerty »