Book a Demo

Author Topic: Scripter > JScript > element diagram composite  (Read 3762 times)

peuhhhh

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Scripter > JScript > element diagram composite
« on: June 15, 2010, 11:20:38 pm »
Hi,

i'm developping a script that add an element (activity) under a package and a diagram under this new element.
i want to make the element composite with the added diagram. same effect as the right click > advanced > make composite.

if anyone can help me out .

thanks


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Scripter > JScript > element diagram composite
« Reply #1 on: June 15, 2010, 11:54:26 pm »
peuhhhh (what a strange name ;D)

Please use the top left search button to search the forum for "make composite".
I think Paolo replied yesterday (or today) to exactly the same question.

Geert

peuhhhh

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Scripter > JScript > element diagram composite
« Reply #2 on: June 16, 2010, 12:18:36 am »
THe problem is that i cant have access to the DB, so i can update the right field.
i have to use only the script editor

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: Scripter > JScript > element diagram com
« Reply #3 on: June 16, 2010, 09:59:06 am »
Making elements composite is not currently supported under the automation interface. We are in the progress of providing this functionality however.

Please submit a feature request to add your support/weight to the issue.
« Last Edit: June 16, 2010, 09:59:21 am by mfraser »
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Scripter > JScript > element diagram composite
« Reply #4 on: June 16, 2010, 03:59:04 pm »
Peuhhhh,

Look at this topic.
That gives you a backdoor to make this work in your script.

Geert

peuhhhh

  • EA User
  • **
  • Posts: 31
  • Karma: +0/-0
    • View Profile
Re: Scripter > JScript > element diagram composite
« Reply #5 on: June 16, 2010, 06:17:00 pm »
Okay thanks to all. i'll try an post an update soon here.
Peuhhh