Author Topic: How to access elements of a structured tagged value?  (Read 2778 times)

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
How to access elements of a structured tagged value?
« on: January 16, 2019, 10:00:59 pm »
Hello,
I have a structured tagged value (a class PhysicalRange with a "Min" and a "Max" attribute).
Now I want to query the Min and Max value in a shape script.
Something like:
Code: [Select]
if( HasTag("PhysicalRange.Min", "") ) {
// do something
}
Is that possible?
And if Yes, where can I find information on this?

Accessing normal (unstructured) tags is easy. No problems with that.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: How to access elements of a structured tagged value?
« Reply #1 on: January 16, 2019, 11:46:22 pm »
No, that's not possible. You need to take that out of the MDG/tag definition manually.

q.

Boron

  • EA User
  • **
  • Posts: 111
  • Karma: +6/-0
    • View Profile
Re: How to access elements of a structured tagged value?
« Reply #2 on: January 17, 2019, 02:39:00 am »
To say it in Trumps words: "So sad." :(