Book a Demo

Author Topic: Class moves around class diagram when code generat  (Read 4375 times)

Paul Gruet

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Class moves around class diagram when code generat
« on: May 07, 2008, 08:38:34 pm »
Hi
I am running EA version 6.5.799 and attempting to generate C++ code for a class which appears in more than one class diagram.

When I select generate, the class moves way off of the diagram and I have to zoom right out and drag it back. This does not happen where a class only appears in one diagram so I suspect that the coordinates from another diagram are being used when it is repainted after code generation. Does anyone have any ideas for a workaround or is there a fix available. For me this is a serious issue.

Thanks
Paul Gruet




Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Class moves around class diagram when code gen
« Reply #1 on: May 08, 2008, 08:12:58 am »
There was an issue in older versions of EA where a diagram would be reloaded after code engineering.

This is the likely cause of what you are seeing and it has been fixed in the latest version of EA.  (Sorry, I don't know how far back it was fixed.)

Paul Gruet

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Re: Class moves around class diagram when code gen
« Reply #2 on: May 08, 2008, 05:50:28 pm »
Thanks, I will upgrade to the latest version and give it a try

Paul