Book a Demo

Author Topic: Shape Scripting on Top of an MDG?  (Read 2967 times)

csousa

  • EA User
  • **
  • Posts: 24
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Shape Scripting on Top of an MDG?
« on: September 11, 2013, 07:38:24 am »
Does anyone know if it is possible to add shape scripts on top of elements that are defined as part of an MDG?

Example: "I want to convey a tagged value within an Archimate Work Package"

I know how to do this with stereotypes that we control directly but I am unsure about MDG elements.
« Last Edit: September 11, 2013, 07:38:57 am by csousa »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Shape Scripting on Top of an MDG?
« Reply #1 on: September 11, 2013, 07:49:59 am »
Not sure I understand your question. But shape scripts are a usual way to modify the shape of stereotyped elements through MDG. If you extend a shape scripted element by your own MDG then your shape script should be taken instead of the base MDG. (I have never done it, but it seems logical.)

q.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8090
  • Karma: +118/-20
    • View Profile
Re: Shape Scripting on Top of an MDG?
« Reply #2 on: September 11, 2013, 09:05:44 am »
Define a shape script as normal for a stereotyped element.

To preserve the existing shape you can call drawparentshape().