Book a Demo

Author Topic: Provoke creation entry in t_diagramlinks  (Read 3530 times)

McMannus

  • EA User
  • **
  • Posts: 108
  • Karma: +4/-1
    • View Profile
Provoke creation entry in t_diagramlinks
« on: August 25, 2015, 03:08:32 am »
Hi folks,

I have the following problem: I want to apply externally computed connector routings to connectors and I have the bendpoint coordinates. This works fine, if there is already a diagram link in t_diagramlinks for a connector. This is however not always the case, so the Repository.Execute fails silently.

Is there any way to provoke the creation of an entry for a connector in t_diagramlinks?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Provoke creation entry in t_diagramlinks
« Reply #1 on: August 25, 2015, 05:58:11 am »
In the past this was true. But from what I saw recently the diagramLinks are created always (I think!). If not, you can create an entry in t_diagramlinks using Repository.Execute ("INSERT..."). I don't think there is any danger in doing this as long as the connector exists in the diagram.

q.