Enterprise Architect Automation Service FAQ

Enterprise Architect is a CASE software (Computer Aided Software Engineering) that has excellent support for software system development. EA is different from ordinary UML drawing tools (such as VISIO), it will support the whole process of system development. In the requirements analysis phase, system analysis and design phase, system development and deployment, there is strong support, plus forward and reverse engineering of 10 programming languages, project management, document generation, data modeling, etc. All roles in system development can get the best development efficiency. Enterprise Architect is now available for purchase in the mall. Enterprise Architect-Professional Edition is now at a discounted price of only 1699 yuan. Click to view the authorization method and other version discount

Download the latest trial version of Enterprise Architect【Huidu.com】

This topic provides answers to frequently asked questions about using Enterprise Architect's automation services.

Question 1: Does Enterprise Architect have an API?

Enterprise Architect has a comprehensive automation interface (API) that can be used to write scripts or write add-ins.

Question 2: Why is my script debugging not applicable to VBScript or JScript?

The debugging of JScript and VBScript requires an operating system component called Microsoft Process Debug Manager. In the past, it was traditionally installed by Microsoft Office, Microsoft Visual Studio or the standalone Microsoft script debugger. Due to the licensing restrictions set by Microsoft, the product cannot be distributed to third parties, so Sparx Systems cannot distribute this component. Sparx Systems did not distribute the product directly, but provided instructions on how to download the product from Microsoft.

Unfortunately, in 2016, Microsoft removed the download of Microsoft Script Debugger from its website. This means that users who do not yet have a script debugger can only download the installer (scd10en.exe) from an untrusted third-party website. This does not change the behavior of running JScript and VBScript scripts from Enterprise Architect. Only the ability to debug these two languages ​​is affected.

Therefore, Sparx Systems now recommends using JavaScript to create any new scripts. Our JavaScript implementation is based on the Mozilla Spidermonkey implementation and is at least equivalent to using the Microsoft scripting language. The advantage of using JavaScript is that it is completely built and distributed by Sparx Systems, which means that we can actively support script execution and debugging in the future.

Question 3: Where can I find the table name of the repository?

Enterprise Architect has an API (Automation Interface) that you can use to write scripts or write add-ins. As opposed to using scripted SQL queries or updates, this is the preferred method of accessing repository data.

However, if you need SQL statements, there is a large amount of documentation on the database in the "Automation" help page, and references to the table names associated with each class. See the automation help topic.

See also the diagrams of the general page (...package) and the automation reference help topics for the functions and properties of the (...Class) page.

The (... Class) page contains the table name-see "Association Tables in the .EAP File" at the top of each page.

For example, see the figure under the "Element Package Help" topic and the "Association Table in the .EAP File" topic in the "Element Class Help" topic for details.

Question 4: How can I realize simple automation of report generation?

The automation interface supports the use of RunReport() in the Project class of the automation interface to generate document reports.

Question 5: How to automatically generate HTML?

The automation interface supports the use of RunHTMLReport() in the Project class of the automation interface to generate HTML reports.

Guess you like

Origin blog.51cto.com/15078157/2605692