Book a Demo

Author Topic: EA Error  with Tagged value HasAttributes  (Read 4602 times)

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
EA Error  with Tagged value HasAttributes
« on: July 05, 2015, 03:56:19 am »
Hi,

Not sure I've seen this before, but when I make a call to Tagged Value HasAttributes method, I get an EA error dialog pop up - with error code 0xc00ce556 and description "Invalid at the top level of the document"

My code is checking a set of tagged values,  and I assume the error is because one of them is not a structured type;  is that a pre-condition for making this call?  may be implied but not clearly stated (and when I call Getlasterror it returns an empty string).  If this is the case, is there an easy way to determine if a tagged value is structured, other than making a search in t_propertytypes for all tagged values?

I assume I am correct that the taggedvalue attributes relate to the structure type properties or perhaps I've misunderstood something.  

BTW: Even with structured types I'm not getting the results I would expect - has anybody got this part of the api working reliably?

Any information would be welcome.

Thanks

EXploringEA - information, utilities and addins

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: EA Error  with Tagged value HasAttributes
« Reply #1 on: July 05, 2015, 04:23:33 am »
I wouldn't be astonished if this is a bug since (most likely) only very few people happen to use that. I'll give it a try later....

q.

P.S. Yes, I get the same error. Access to a normal TV returns false with no error. Accessing a grouped TV returns false too plus the error message. Report a bug...
« Last Edit: July 05, 2015, 04:30:59 am by qwerty »