Book a Demo

Author Topic: Automate EA functions  (Read 5084 times)

krizz

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Automate EA functions
« on: March 25, 2009, 10:56:11 pm »
Hello!

I am still a bit lost in the documentations for Enterprise Architect.

I am looking to automate specific functions of EA, like automatically exporting all models of a project to XMI.

Is the Project-interface the right thing to start with?
(I mean this: http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/projectinterface.html)

And if so, where is this documented?

Best regards,
Chris

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Automate EA functions
« Reply #1 on: March 25, 2009, 11:04:55 pm »
I think you better start here
http://www.sparxsystems.com/uml_tool_guide/sdk_for_enterprise_architect/repository3.html
You can get to the project interface definition (if you need it) from the method getProjectProjectInterface()
I would also have a look at the package class, that tends to have a lot of usefull methods as well.