Book a Demo

Author Topic: Setting visibility value of Effect-ActivityDiagram  (Read 4218 times)

pisokol

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Setting visibility value of Effect-ActivityDiagram
« on: January 25, 2015, 12:15:25 pm »
I write addin (in c#). Addin adds new diagram (Activity Diagram) with same diagram objects (Actions, connectors...). Diagram Objects have set value the Effect properties. I have problem with setting visibility this parameter on diagram.
I want obtain these results as set box "Show Effect in diagram" in Properties window for diagram object (element Action).
Anybody knows, how can I set it, using API, in my addin? Where it is set in EA object structure?
thx
« Last Edit: January 28, 2015, 03:49:35 am by pisokol »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Seting visibility value of Effect-Activity Dia
« Reply #1 on: January 25, 2015, 09:52:14 pm »
You need to add "ShowBeh=1;" to the element style.

q.

pisokol

  • EA User
  • **
  • Posts: 26
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: Seting visibility value of Effect-Activity Dia
« Reply #2 on: January 26, 2015, 10:43:59 am »
Thx, You are THE BEST :) it's works.

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Seting visibility value of Effect-Activity Dia
« Reply #3 on: January 26, 2015, 12:40:04 pm »
Thanks :) Meanwhile I have a little laboratory where I can find such things rather quickly.

q.