Author Topic: How to define Tag value type in a script  (Read 3130 times)

alexM

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
How to define Tag value type in a script
« on: March 19, 2015, 08:53:05 pm »
How can I define the type of tag value (eg. enumeration type) within  vbscript (Scripting environment)? I have need to add particular tag (enumeration type) to an element through script, but i can't to find the methods, to define tag value type,  for  my script in the Software Development Kit. Can Anyone help me?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to define Tag value type in a script
« Reply #1 on: March 19, 2015, 09:22:16 pm »
Actually it's quite easy: place the enum values in the Notes property of the TV like
Code: [Select]
Values: Literal,Variable,Message,Expression
q.

alexM

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: How to define Tag value type in a script
« Reply #2 on: March 20, 2015, 12:28:28 am »
Thanks a lot!!! :D :D :D Can you give me any reference (blog, book ecc..)? i'm trying to develop a serie of rules (using scripting) to manage the requirement model  tags (thank you again bye!!!).

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to define Tag value type in a script
« Reply #3 on: March 20, 2015, 01:05:46 am »
I can recommend my Scripting book :-). See link below.