Sparx Systems Forum
Enterprise Architect => General Board => Topic started by: Javi on February 17, 2021, 07:30:58 pm
-
Hello,
I was wondering whether there is a way to refactor the naming of all operations of a class and its class types.
I mean if I have a class that has got these methods
I would like to refactor all of them at once as
- myPrefix_sum()
- myPRefix_substract()
IS this possible in Enterprise architect?
-
You can write a little script to do that for you.
Geert
-
You can write a little script to do that for you.
Geert
So it is not natively supported...
Could you point me out where I can find documentation to do so?
Thanks!
-
Scripting documentation: https://www.sparxsystems.com/enterprise_architect_user_guide/15.2/automation/the_scripter_window.html (https://www.sparxsystems.com/enterprise_architect_user_guide/15.2/automation/the_scripter_window.html)
Examples: https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library (https://github.com/GeertBellekens/Enterprise-Architect-VBScript-Library)
Geert