Reputation: 287
I am trying to refer to an EA Element using EA Attribute property 'Type' through Add-in by using the below code
RefAttEle.Type = "{3020EA93-AA94-49aa-850F-EDFF39F2E9DD}";
By using the above code EA Attribute property 'Type' value is not referring to EA Element instead of that EA Attribute property 'Type' value is begin sets as 'String'. Please refer the below image.
How to refer to EA Element using EA Attribute property 'Type' (Add-In) ?
Upvotes: 0
Views: 156
Reputation: 36295
You need to set
RefAttEle.ClassifierID = <theElement>.ElementId
Upvotes: 1