Author Topic: Scripting element interaction points "visible" property  (Read 385 times)

chrislro

  • EA User
  • **
  • Posts: 30
  • Karma: +2/-0
    • View Profile
Scripting element interaction points "visible" property
« 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"?

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13404
  • Karma: +567/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Scripting element interaction points "visible" property
« Reply #1 on: May 27, 2025, 07:16:48 pm »
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

chrislro

  • EA User
  • **
  • Posts: 30
  • Karma: +2/-0
    • View Profile
Re: Scripting element interaction points "visible" property
« Reply #2 on: May 27, 2025, 07:27:54 pm »
Thank you for pointing me to it. I never worked with those before, so I need to jump into this rabbit hole.