Book a Demo

Author Topic: JAVA API for EA  (Read 2865 times)

zapolo

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
JAVA API for EA
« on: December 29, 2008, 07:06:54 pm »
Java APIs

you know as you can from a class using the java API, create a jpg of a diagram

thank you very much

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: JAVA API for EA
« Reply #1 on: January 05, 2009, 09:42:36 am »
The repository has a method GetProjectInterface() which returns an Object of type Project.

From the Project object you can call PutDiagramImageToFile() which will save the active diagram to file. See http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/project_2.html for more details.
Best Regards,

Michael

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