Book a Demo

Author Topic: Model Patterns  (Read 2717 times)

mogra69

  • EA User
  • **
  • Posts: 21
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Model Patterns
« on: October 15, 2006, 01:54:34 pm »
Using the auotmation interface is there way to know the 'Model Pattern' that was used to create the project?

The EA_FileOpen() handler is invoked before the 'Select Models' dialog where the user chooses the Model Pattern(s). Is there way to see what was selected in the Select Models dialog?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Model Patterns
« Reply #1 on: October 15, 2006, 02:07:13 pm »
AFAIK there is no way to do this. The handler you refer to traps the event that signals that the file is now opening in case your application needs to do some housekeeping (or whatever) before you move to the next stage.

As far as the dialog you refer to, once a 'real' user finishes selecting templates and dismisses the dialog, it is gone. While the user could add additional templates later, using the same dialog, once again when the dialog is closed it is gone. [Once again, AFAIK] The project does not keep an internal record of which if any templates were chosen.
No, you can't have it!