Book a Demo

Author Topic: EA - XMI Exports  (Read 3617 times)

youri

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
EA - XMI Exports
« on: April 30, 2014, 11:36:09 pm »
Hi there EA Users,

When using the diagram data from the archi ea xmi export then coordinates are a bit of..

See image:


The red 'blocks' are read from the XMI file (see code below):
Code: [Select]
<element geometry="Left=649;Top=118;Right=739;Bottom=188;imgL=649;imgT=118;imgR=739;imgB=188;" subject="EAID_3AC21F7C_3792_41ab_8064_E5C4630C7C5A" seqno="1" style="DUID=A71E2B56;HideIcon=0;"/>
The block uses the attributes: Left, Top, Right, Bottom (same as imgL ect.).

Is there some workaround inside EA to fix this problem?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA - XMI Exports
« Reply #1 on: May 01, 2014, 08:55:30 am »
The coordinates listed aren't meant to by the coordinates of a saved image.

What you are seeing would correspond to padding around the elements and extra space for the title image.

youri

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: EA - XMI Exports
« Reply #2 on: May 01, 2014, 04:16:48 pm »
Quote
The coordinates listed aren't meant to by the coordinates of a saved image.

What you are seeing would correspond to padding around the elements and extra space for the title image.

Hi, and thanks for your reply.

Are the padding values set in the XMI export?

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: EA - XMI Exports
« Reply #3 on: May 01, 2014, 05:16:17 pm »
No, the purpose of the XMI is to provide information for round-trip. Not to document what you are seeing in a saved image. It's also not that simple because the image may or may not contain a diagram frame.