Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: TobyHarrison on October 14, 2023, 12:48:53 pm
-
I'm transitioning from PowerDesigner and have a comprehensive dictionary of terms linked to Tables and Columns. Is there a scripting method that allows me to iterate through tables and attributes to modify the notes or descriptions of these table and column elements?
-
Sure there is. A Table is an EA.Element (https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/element2.html), and columns are EA.Attributes (https://sparxsystems.com/enterprise_architect_user_guide/16.1/add-ins___scripting/attribute.html).
If you look in the "local scripts", you'll find some examples on how to use those.
Geert