Author Topic: Calling built-in EA operations within Add-in  (Read 2713 times)

avantol13-2

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Calling built-in EA operations within Add-in
« on: October 21, 2014, 05:30:30 am »
How does one call "Code Engineering - Generate Code..." on the currently selected element from within an add-in? Is this even possible or do you have to access those operations from directly inside EA?

Thanks!
Alex

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Calling built-in EA operations within Add-in
« Reply #1 on: October 21, 2014, 07:07:05 am »
Reporistory.GetTreeSelectedObject
ProjectInterface.generateClass

q.

avantol13-2

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: Calling built-in EA operations within Add-in
« Reply #2 on: October 21, 2014, 11:10:32 pm »
Awesome. Thanks q.