Book a Demo

Author Topic: HOWTO create attached notes via script?  (Read 3086 times)

RaimondB

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
HOWTO create attached notes via script?
« on: April 05, 2013, 01:30:58 am »
Hi,

I'd like to create attached notes via script and link them to either elements or connectors. However I cannot find how this is done using the API.

Are notes a special form of elements, as i cannot seem to find an objecttype for it..

TIA,
Raimond

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: HOWTO create attached notes via script?
« Reply #1 on: April 05, 2013, 06:55:33 am »
You need to create a Note element. This is not visible in the project browser! So you must place it in a diagram too. For the connector create a DiagramLink from the note to the element.

q.
« Last Edit: April 05, 2013, 06:58:01 am by qwerty »