Book a Demo

Author Topic: HOWTO Create Archimate2 elements with script?  (Read 2882 times)

RaimondB

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
HOWTO Create Archimate2 elements with script?
« on: April 05, 2013, 01:26:08 am »
Hi,

I have problems creating architmate 2 element correctly using script.
I provide the correct metaType and Stereotype, but still connectors and elements are not drawn correctly (compared with out of the box toolbox behavior when creating elements by hand)
They do not get the correct default color, some parts of the shape are missing (the archimate specific icons) and some connectors get their stereotype displayed on the diagram while they shouldn't.

Does anybody know the correct way to create these elements?

TIA,
Raimond
« Last Edit: April 05, 2013, 01:26:46 am by raimondb »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: HOWTO Create Archimate2 elements with script?
« Reply #1 on: April 05, 2013, 06:52:37 am »
You need to provide the FQN stereotype. E.g. Archimate2::BusinessFunction

q.