Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Tilo on July 24, 2020, 03:37:40 pm

Title: Batch Modification Diagram Property
Post by: Tilo on July 24, 2020, 03:37:40 pm
Hello

I've just updated from EA 13 to 15. Now all my diagrams are broken.
Before the label of a port contained just the name of it. Now it also contains the property type.
I found out that I can change this When unchecking (Left klick diargam area) -> Properties -> Elements -> Element Appearance -> Show Property Type.

I didn't find any solution to reset the default setting to the old behavior.
I have over 1000 diagrams. I don't want to change them manually.

Therefore my idea to use a script to modify this setting.
I took a look at the API and didn't find anthing usefull in diagramm class.

Can anybody give me a hint how to change this?

Thank you very much.
Title: Re: Batch Modification Diagram Property
Post by: qwerty on July 24, 2020, 06:51:54 pm
Those settings are stored in t_diagram.PDATA. You can modify the settings and see how it affect the contents of that column. The naming seems to be different from 13.5 so I can't identify it on the fly from skimming my Inside book.

q.