Book a Demo

Author Topic: Export diagram images by external calls  (Read 3146 times)

arcozen

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Export diagram images by external calls
« on: February 19, 2010, 01:33:02 am »
Hi everybody
It could be possible that in our life cycle developement we have to extract from EA some diagrams  as images.
This images extraction could be called in a subsequent moment, for example while we're generating a software release documentation.

We have two custom developed tools to generate documentation and to make software releases.
So we would like to call EA using something like a service, APIs, command-line scripts, in order to extract images from diagrams, passing related XMI files as parameters for every package.

Is it possible? In the case of scripting integration, what kind of environment would be needed to integrate EA scripts (we tipically use UNIX based system)?

Thanks in advance :)

Marco

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Export diagram images by external calls
« Reply #1 on: February 19, 2010, 01:58:04 am »
Marco,

I the API there is an operation to export a diagram image to a file (or the clipboard)

The general API is a com object, but there is a java accessible library as well.

Geert

arcozen

  • EA Novice
  • *
  • Posts: 13
  • Karma: +0/-0
    • View Profile
Re: Export diagram images by external calls
« Reply #2 on: February 19, 2010, 02:20:51 am »
Thanks Geert!
Java library could be the best solution for our environment.

Makulik

  • EA User
  • **
  • Posts: 400
  • Karma: +0/-0
    • View Profile
Re: Export diagram images by external calls
« Reply #3 on: February 19, 2010, 02:23:37 am »
Quote
The general API is a com object, but there is a java accessible library as well.
But you'll need the EA app to either integrate an AddIn or to automate it via the COM API. Thus you need to run EA under a linux environment (e.g. using CrossOver or Wine).

HTH
Günther