Book a Demo

Author Topic: VB scripting the generation of profiles & MDG  (Read 3011 times)

David OD

  • EA User
  • **
  • Posts: 56
  • Karma: +0/-0
    • View Profile
VB scripting the generation of profiles & MDG
« on: December 22, 2009, 01:09:52 pm »
I have been successfully able to design and build UML profiles and bundle them in MDG Technologies.

However to save time, I would like to be able to write a script that automates the process. However I cannot find any operations in the automation interface to support the generation of profiles and technologies.  

Has anybody else tried this?

Regards
David O'Driscoll
Regards
David

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: VB scripting the generation of profiles & MDG
« Reply #1 on: December 22, 2009, 04:54:13 pm »
There aren't any commands to, for example, create a profile from a given diagram/package or create a technology from a given MTS file (good ideas for a feature request), so you would have to write your own XML serialization. If you do, the potential sticking point will probably be base-64 encoding of shape scripts and bitmaps - I can't help you there, no idea how it's done.
The Sparx Team
[email protected]