Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: adepreter on May 07, 2021, 08:47:55 pm
-
Hello,
Does anyone know what is the API to set the diagram "Freeze Visible" property?
Cheers,
Alain
-
Where would I find that property in the GUI?
q.
-
On an opened diagram
=> Properties window => Connectors group => Freeze Visible
Then the issue is how to change this useful value using the API?
-
I'm guessing its going to be somewhere in either PDATA or StyleEx
The best way to figure it out is to get these values, change the property, and then compare.
Geert
-
After a bit of experimentation the styleex is
DLKO=1;
This can be added manually to the stylexx attribute for the diagram metaclass in the MDG
I did find the order seemed to matter, so for my MDG I have:
HideConnStereotype=0;DLKO=1;FTV=1;ETV=1;
Being HideConnectorSterotypes = false FreezeVisible = true Filter to Version = true New to Version is true
Phil
-
You are all amazing!
THANK YOU :-)