Book a Demo

Author Topic: Sequence Diagram Activate "Is Return" Checkbox  (Read 3650 times)

Stefan Beller

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Sequence Diagram Activate "Is Return" Checkbox
« on: January 12, 2012, 11:39:36 pm »
Hi,

I am currently trying to build a sequence diagram automatically via EA Automation interface.
Now I want to add function call returns.
I noticed that when changing the "Is Return" Checkbox in the "Control Flow Type" Dialog, the attribute MiscData(4) of a Connector changes
The Miscdata(4) is PData3 according to the documentation.
I do not understand the documentation enough to get some useful information out of it.
           
MiscDataStringRead only. This low-level property provides information about the contents of the PDatax fields. These database fields are not documented and developers must gain understanding of these fields through their own endeavors to use this property.
found here

So is there another way to enable the "Is Return" flag for a Connector object?

Thank you in advance



qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Sequence Diagram Activate "Is Return
« Reply #1 on: January 13, 2012, 07:12:22 am »
Only indirectly. You need to write an SQL UPDATE statement to pass it to Repository.Execute (SQLstring). The API does not offer changing of PDATA. Note that Execute is a not supported API call.

q.
« Last Edit: January 13, 2012, 07:13:00 am by qwerty »