Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: adama on March 31, 2017, 08:58:40 am
-
I suspect that this can be done, but I haven't found it yet. I want to make all Information Flows be "Orthogonal Rounded" every time I create one.
-
I suspect that this can be done, but I haven't found it yet. I want to make all Information Flows be "Orthogonal Rounded" every time I create one.
You need to edit the relevant MDG.
<AppliesTo>
<Apply type="InformationFlow">
<Property name="_lineStyle" value="OrthogonalR"/>
</Apply>
</AppliesTo>
We've done that for our unique modelling environment. We've made Association based relationships default to "Orthogonal Square", Flow or behavioural as "Orthogonal Rounded", and the rest as required.
HTH,
Paolo
-
Or just use my "Default Line Styles script"
I have two versions of it. One that can be used with EA-Matic and is automatically executed every time you create a new relation, the other is just a regular script that can be executed on demand
- EA-Matic version (https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Projects/EA-Matic%20Scripts/DefaultLineStyles.vbs)
- Regular version (https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library/blob/master/Projects/Project%20Bellekens/DiagramGroup/Set%20LineStyles.vbs)
Geert
-
I recommend EA-Matic. It's easy to set up and it does the job :)
Thanks Geert!