Yes, I figured this out....but it is a "hack", and not EA supported....
I check out the database (the EAP file), and there are some data which should be included in a "blank" EAP file like datatypes.
EA should have an "internal" database which contains only this tables, and have an automation method like NewModel, because now you can get a Repository, and you must call LoadFile or LoadFile2 to begin your work.
If you develop an external tool then you can't depend on an external file if you like to build a model from scratch.
I hope Geoffrey will read this
and will make the neccessary steps :-)
Thanks,
Attila