Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Adrian Cook on March 04, 2010, 05:24:14 am

Title: Tagged value types and the automation interface
Post by: Adrian Cook on March 04, 2010, 05:24:14 am
Hello,

Is it possible to associate a tagged value created through the automation interface with a tagged value type that exists in the project? I've written a VBA macro that reads custom requirement attributes from a spreadsheet and creates tagged values on requirement elements in my project to hold those values, but I'd like to associate those tagged values with tagged value types that I've set up in the project (e.g. an Enum type that lists the possible values for a particular attribute).

I've searched the posts on this forum but I haven't found any that answers this question, nor can I find anything in EA online help about this. I'm running EA 7.5 Ultimate.

Thanks,
Adrian
Title: Re: Tagged value types and the automation interfac
Post by: Shawn Stepper on March 04, 2010, 11:52:28 am
I think you need to look at Repository.PropertyType.
Title: Re: Tagged value types and the automation interfac
Post by: Geert Bellekens on March 04, 2010, 08:15:45 pm
Adrian,

I believe (without proof!) that the tagged value types and their "enumerated" allowed values are only used to guide the creation of the tagged value in the GUI.
I think that you can just create the tagged values with the correct name and value using the API, and that this will have the same result as selecting a tag and value in the GUI.

Geert