Sparx Systems Forum
Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Polymorph on September 25, 2024, 06:39:00 am
-
I am decided to finally learn scripting :)
I am finding the native script editor limited in functionality and wondered if I can somehow integrate with an IDE like MS Visual Studio.
Is this possible? Have people done it? What are the advantages/disadvantages? Does anyone have an idiot's guide to getting it working?
-
I've explored that route as well, and given up.
There are a number of issues
- The scripts are stored in the database. So once you update a script you should update it in the database
- Scripts are preprocessed by EA before executing. the "as EA.Element" is removed, the included scripts are included. You can't execute raw scripts outside of EA.
- When scripts are being run, EA adds the Repository and Session object to he runtime environment.
All-in all the better editor is not worth the hassle in my opinion
Geert
-
That is all I needed to hear! If you've given up then I won't even entertain the idea!
Thanks
-
I (almost) ever used scripting outside of EA. You just can't compare that editor inside EA with a real IDE.
q.