Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: EXploringEA 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
-
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...