Book a Demo

Author Topic: How to export a Diagram to XMI?  (Read 4430 times)

dkkoenig

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
How to export a Diagram to XMI?
« on: September 24, 2007, 01:37:57 am »
hallo,

How to export a Diagram to XMI, i can only export a package ...

thanks

MrDX

  • EA User
  • **
  • Posts: 49
  • Karma: +0/-0
    • View Profile
Re: How to export a Diagram to XMI?
« Reply #1 on: September 24, 2007, 02:44:59 am »
Right-Click on 'Model' (Project explorer), than click on 'Export model to XMI'. That's all ;)
But the XMI-Exporter have a lot of bugs and does not store all informations in the model-element  >:( >:(
« Last Edit: September 24, 2007, 02:45:35 am by MrDX »

dkkoenig

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: How to export a Diagram to XMI?
« Reply #2 on: September 24, 2007, 05:17:44 am »
thans MrDX, but i want export only a Diagram with Automation Interface, but not whole package
;D

have u ideal?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: How to export a Diagram to XMI?
« Reply #3 on: September 24, 2007, 06:08:48 am »
EA's XMI export function works on a package basis. So, you're stuck with that.

However, you might be able to cheat a bit. Take a look at the read-only XML interface of the EA Project class. Perhaps you can enumerate the diagram's objects, and obtain information about each of them. You'd end up with a bunch of XML fragments, so you'd likely have to do a bit of creative surgery to assemble a complete document.

A bit of a kludge, but if that's what you need...

David
No, you can't have it!

dkkoenig

  • EA Novice
  • *
  • Posts: 16
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: How to export a Diagram to XMI?
« Reply #4 on: September 25, 2007, 03:02:35 pm »
Ok, thanks David  :)