Book a Demo

Author Topic: loading pattern in EA API  (Read 4437 times)

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
loading pattern in EA API
« on: January 13, 2016, 07:44:07 am »
Hi,

I have created a customized xml pattern that is I am using in EA (for example when creating a package, I am creating a set of other customized elements).
Does EA API support loading this pattern, do some manipulation on its xml (like changing created names in tags),
assuming I know the path where it is located.

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: loading pattern in EA API
« Reply #1 on: January 13, 2016, 02:46:22 pm »
What you do mean by customized xml pattern?

Geert

tzafrir

  • EA User
  • **
  • Posts: 127
  • Karma: +0/-0
    • View Profile
Re: loading pattern in EA API
« Reply #2 on: January 14, 2016, 02:09:12 am »
I am talking about model templates. I am creating them in EA by standing on root of a package for example.
Then right click and choosing "Export package to XMI file".
I then put the path to this XML in my MDG file under <ModelTemplates> tags.
And I have those templates available once EA starts.

Does EA API supports loading those templates and doing some manipulations on the created templates?


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: loading pattern in EA API
« Reply #3 on: January 14, 2016, 03:38:58 am »
No, I don't think so.

Geert