Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Geert Bellekens on April 20, 2015, 09:08:14 pm
-
If you use Connector.Ster[highlight]e[/highlight]otype it should work I guess.
Geert
-
Thanks for the quick response. Firstly, that was stupid of me, awful speller haha. Secondly, it now displays two types within my diagrams such as;
<<Need, dependsOn>>
It displays the correct properties if I look within the properties window of the the field.
EDIT: Must have accidently deleted first post. I am looking to update the sterotype field of a connector using a script, by importing a tab delimited file. Works correctly in the following format for Direction, Notes and Alias.
Connector.Direction = Direction;
Connector.Notes=Description;
Connector.Alias=Alias;
Connector.Stereotype=Relationship;
-
There's also StereotypeEx that you can use. Check the documentation.
Geert
-
Thanks a lot, StereotypeEx works perfectly.