Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: OpenIT Solutions on July 12, 2017, 06:37:16 pm

Title: Shapescript #TAG
Post by: OpenIT Solutions on July 12, 2017, 06:37:16 pm
Hi,

I have a tagged value of type <memo> (ie value is <memo> and notes contain the tagged values actual value/content). In my shape script if I use 'print("#TAG:condition#")' where condition is the tagged value name - the value column, ie <memo> is displayed note the actual value in the notes field. Is there anyway in a shapescript to print the actual value of a tagged value of type memo ?

Regards,

Jon.
Title: Re: Shapescript #TAG
Post by: Geert Bellekens on July 12, 2017, 07:23:32 pm
I don't think so. In the case of <memo> tagged values the value is actually stored in the notes field, and I don't think the shapescripts have access to the notes of tagged values.

Geert
Title: Re: Shapescript #TAG
Post by: OpenIT Solutions on July 12, 2017, 07:58:09 pm
Yes, just wanted to double check - feels like an enhancement request - i'll raise one ....
Title: Re: Shapescript #TAG
Post by: qwerty on July 12, 2017, 08:21:06 pm
They will likely point you to using the add-in call for this.

q.