Book a Demo

Author Topic: creating a new model based on an mdg through API  (Read 3176 times)

sherey

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
creating a new model based on an mdg through API
« on: December 05, 2014, 07:16:18 am »
How would I use the API to create a new model based on a Package Structure stored in a MDG Technology?

I see the repository object's CreateModel method, but CreateType is 0 for the standard EA Base model and 1 to create through an SQL connection.

If just create a base EA Model, I'm not seeing another method that creates root based on a package structure in an MDG Technology.Do I use CustomCommand("Repository", "ImportRefData", <xml>)?

Thanks!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: creating a new model based on an mdg through A
« Reply #1 on: December 05, 2014, 07:47:22 am »
I guess you can't do that. Unless you read the MDG, interpret it, and build the structure based on that. You could probably ask for a new feature. Can you hold your breath for a couple of years?

q.