Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: harvinder on February 25, 2011, 12:05:15 pm
-
Is it possible to display qualified name of a tag using shape script? If yes how can it be done.
thanks
harvinder
-
Could you please elaborate your question? What shape script? Is this from Visio?
-
i dont know what you mean with "qualified name"
but you can display the value of a tagged value.
print("#TAG:condition#");
where condition is the name of the tag you want to display.
you can although check the value of tagged values.
if(HasTag("horizontal","true")) {
...
}
if the element has a tagged value with the name horizontal and the value == true then...
Stao
-
Say there is a package ContainerA which has a Class named ClassB with and attribute called AttributeC.
Qualified name for AttributeC would be ContainerA.ClassB.AttributeC. at least that is what I am looking for.
thanks
harvinder