Author Topic: API: Code generation for diagram  (Read 2758 times)

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
API: Code generation for diagram
« on: October 21, 2012, 06:13:12 pm »
Hello,

Is it possible to run code generation script for all diagram's classes or at least for one class using API?

Thanks.

zalbina

  • EA User
  • **
  • Posts: 149
  • Karma: +0/-0
    • View Profile
Re: API: Code generation for diagram
« Reply #1 on: October 21, 2012, 07:22:08 pm »
I did find the GenerateClass (string ElementGUID, string ExtraOptions) method of the Project class, but this method does not show the Code Generation Dialog Box and puts all .java files in some default directory what is not write. Probably I have to use this ExtraOptions string but I found nothing about that.

Thanks.