Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: David OD on December 22, 2009, 01:09:52 pm

Title: VB scripting the generation of profiles & MDG
Post by: David OD 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
Title: Re: VB scripting the generation of profiles & MDG
Post by: KP 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.