Search code examples
automationenterprise-architect

Something like Excels Macro function in Enterprise Architect


I wonder if there is something like the Macro function from Excel in Enterprise Architect. For example, I have the following procedure in EAv15: add a new tagged value xy, make some changes to a DDL Template based on the value of xy (If the value is "true" then add system versioning to the the table or something like that).

So the goal is to have something to automate this procedure in the Enterprise Architect. So far I was thinking if it would be possible with something like the macro function from excel or by writing a certain script.

Thanks in advance for all comments and ideas!


Solution

  • Enterprise Architect has a scripting feature that allows you to automate tasks.
    You can write scripts in VBScript, Jscript or Javascript

    See Specialize | Tools | Scripting

    Depending on the type of group a script is in, it can be started from the context menu Specialize | Script | [name of the script]

    Best place to start for the documentation is here: https://www.sparxsystems.com/enterprise_architect_user_guide/15.1/automation/automation_interface.html