Book a Demo

Author Topic: Add Element as link to a Diagram programmatically  (Read 3341 times)

André Ribeiro

  • EA User
  • **
  • Posts: 51
  • Karma: +0/-0
    • View Profile
Add Element as link to a Diagram programmatically
« on: July 24, 2013, 10:56:13 pm »
Hi everyone,

I was wondering how can I programmaticaly add an element as a link to a diagram, i.e., I've some elements (classes or whatever) that belong to a certain diagram and I want to use them in other diagrams.

Thanks for your help!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Add Element as link to a Diagram programmatica
« Reply #1 on: July 24, 2013, 11:00:31 pm »
You need to create diagramObjects which link to the objects via their objectId.

q.