Book a Demo

Author Topic: EA - SysML extraction in Java/XML  (Read 2243 times)

hshahid

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
EA - SysML extraction in Java/XML
« on: September 23, 2010, 09:46:15 pm »
Hi,
 
I am using Enterprise Architect - V.8.0. and Eclipse - Galileo. I created some SysML models in Enterprise Architect (EA) and merged them with eclipse by using "Merge with Eclipse" option from EA, but I was only able to get class definitions in Eclipse for my blocks in EA/SysML. I was not able to extract the relationships between the blocks/classes as those were defined in the SysML models/diagrams in EA.
 
I want to extract all the information from SysML model/diagram created in Enterprise Architect, specifically Blocks, their attributes and their relationship/associations with other blocks in a SysML diagram. I need to populate an EMF model on the basis of this information. Please let me know if there is any API available for this purpose which can populate an EMF model or can provide me all the required information in the XML form?
 
Thanks & Regards,
Hamid.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: EA - SysML extraction in Java/XML
« Reply #1 on: September 23, 2010, 09:50:54 pm »
Hamid,

EA provides an API that you can use to extract information from a model.
Start here http://www.sparxsystems.com/enterprise_architect_user_guide/automation_and_scripts/automation_interface.html for more information.

Geert

hshahid

  • EA User
  • **
  • Posts: 25
  • Karma: +0/-0
    • View Profile
Re: EA - SysML extraction in Java/XML
« Reply #2 on: September 23, 2010, 10:28:34 pm »
Hi Geert,

Thank you for the link, I hope it will contain the information I need.

best regards,
Hamid.