Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: chrislro on May 27, 2025, 06:43:08 pm
-
Hi,
I have scripted creation of provided and required interfaces as child elements of a component. By default in a diagram, new "interaction points" are set to not visible. I can tick the boxes (Features > Interaction Points) manually in EA, but how can I script (JScript) setting the newly created provided/required interfaces to "visible"?
-
You can update the diagram property that is changed when ticking the box.
I'm guessing the property will be written in the StyleEx, but it might also be Pdata
Geert
-
Thank you for pointing me to it. I never worked with those before, so I need to jump into this rabbit hole.