Author Topic: interaction points  (Read 3171 times)

m2i7c9k

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
interaction points
« on: August 04, 2021, 10:28:26 pm »
Hi Guys,

I'd like to know where is stored relation between the element and its interaction points?

Situation:
I have a diagram with class element and ProvidetInterface, but I can't find their relationship in the BD (MS SQL)?

img:https://ibb.co/02GpcjF
https://ibb.co/02GpcjF

My Goal:
I want to create VBScript that copy ProvidetInterface data and add them (insert) into t_attributes.

What am I missing?
Thanx.

Mick

qwerty

  • EA Guru
  • *****
  • Posts: 12425
  • Karma: +347/-291
  • I'm no guru at all
    • View Profile
Re: interaction points
« Reply #1 on: August 04, 2021, 11:19:50 pm »
Just right out of my head: a PI is an embedded element and should be found with a ParentID relation.

q.

m2i7c9k

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: interaction points
« Reply #2 on: August 04, 2021, 11:24:13 pm »
Oh, Yes, it is... thank you, I was blind like dark night :)

m2i7c9k

  • EA User
  • **
  • Posts: 42
  • Karma: +0/-0
    • View Profile
Re: interaction points
« Reply #3 on: August 08, 2021, 01:56:29 am »
Hi Guys,

finally, I can't find where is stored info about ProvidedInterface is visible/or not on the diagram?

What is the secret of the Sprax guys?

I tried:
SELECT       
   t_object.Object_ID, t_object.Name,
   t_diagramobjects.ObjectStyle
FROM           
   t_diagramobjects
   INNER JOIN t_object ON t_diagramobjects.Object_ID = t_object.Object_ID
WHERE
   t_object.object_Type = 'ProvidedInterface'

Thanks a lot.

Mick

qwerty

  • EA Guru
  • *****
  • Posts: 12425
  • Karma: +347/-291
  • I'm no guru at all
    • View Profile
Re: interaction points
« Reply #4 on: August 08, 2021, 05:12:19 am »
It's visible if there's a diagram object for the element. Else not. Quite simple, I think.

q.