Author Topic: GenerateSourceCode() question  (Read 1755 times)

David Hall

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
GenerateSourceCode() question
« on: October 06, 2009, 10:11:33 pm »
Hi,

I'm trying to automate the Code Engineering -> Generate Source Code operation and am currently using the (package).GenerateSourceCode() method in the Automation Interface. However this pops up the "Generate Package Source Code" dialog, and ideally I would like the generation to happen in the background automatically.

There also doesn't seem to be any way to define the various properties of the code generation dialog (such as "Include all Child Packages" and "Root Directory").

Does the Automation Interface provide these features, or am I limited to just being able to display the "Generate Package Source Code" dialog with default options selected?

Thanks in advance for your help.