Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Aaron B

Pages: [1] 2 3 ... 62
General Board / Re: Hiding Diagram Objects on a diagram
« on: November 06, 2019, 11:11:29 am »
IsVisible I think is mainly for processing child elements. See Example 3 on the following page about custom compartments:

I'm not 100% sure what the Visibility property is though. At first I thought it might be the Scope (Public, Private etc) since that sometimes gets referred to as Visibility in other places, but doesn't seem to be the case here.

Can you be more specific about what kind of properties you are trying to get/set? If you are trying to change some aspect of the appearance of an Element on a specific diagram, then yes, DiagramObject would be the best place to look.

Automation Interface, Add-Ins and Tools / Re: CSV Import
« on: November 06, 2019, 09:34:58 am »
Hi Piku,

Unfortunately there is no API for using the built-in CSV Import/Export Specifications feature from a script or add-in, however you could write your own functionality for reading in the CSV file and then using the EA Object Model to make the necessary additions or updates to your model.

For example, Enterprise Architect includes scripting libraries to assist with writing your own custom CSV Import/Export functions using EA's automation and scripting interface. These libraries allow much greater control over CSV import/export (E.g. import/export of attributes, operations, connectors, etc). Scripting is available in EA Corporate edition or higher. See the "Scripting" topic in EA help for details. The CSV scripting library can be found under Specialize > Tools > Scripting > EAScriptLib > JScript-CSV.

You can find some import and export script examples on the following pages:,25388.msg201695.html#msg201695,25389.msg201697.html#msg201697

General Board / Re: Silent install and configuration of client
« on: October 09, 2019, 09:43:50 am »
Hi Typia,

No, unfortunately we don't support automating entry of the Activation Code at this time (EA 14+). It needs to be entered manually.

Bugs and Issues / Re: Build 1512 seem to have serious bugs
« on: September 26, 2019, 10:00:42 am »
Hi Peter,

If you haven't already, please take the time to submit bug reports for these issues so that we can investigate further:

Any extra details that you can provide with steps to reproduce would be very useful. After submitting a bug report you should receive and auto reply with a copy of your report. You can reply to this email to provide any additional file attachments, screenshots etc if necessary. (If you have access to the Registered Bug Report form then this has support for adding attachments directly.)


For JavaScript (AFAIK also applies to JScript) the syntax is like:

Code: [Select]
throw "Error message here";
If the error you are seeing is something like "Exception thrown and not caught", then it probably means that you need to add a try-catch block somewhere higher up in your script.

General Board / Re: Report with list of figures and tables
« on: July 24, 2019, 09:50:16 am »
Same. No changes in EA 14.1 or EA 15 relating to generation of a list of figures or list of tables.

General Board / Re: Report with list of figures and tables
« on: July 23, 2019, 10:12:52 am »
Hi Ahmed,

Unfortunately there is no functionality built-in at this time for generating a List of Figures or List of Tables. I believe the consensus in the past has been that you would need to set these up using macros in an external word processor such as Microsoft Word. I know the question has come up a few times over the years, but it's not really my area of expertise. Perhaps someone else on the forum here has more experience with this?

This feature was added in EA 15 RC1 (build 1504). From the build 1504 release notes:
"Added support for web style back navigation when following a hyperlink on a diagram"

You can disable this new feature and restore the previous functionality by opening Start > Desktop > Visual Style and disable the option "Enable Diagram Browser Navigation".

The TOGAF add-in will no longer load within EA 14.1. The TOGAF technology is now built-in and it's functionality made available when an appropriate license key is detected. Unfortunately this means that there is currently no way to trial TOGAF when using the registered version of EA.

The only way to trial TOGAF at the moment is to install the Trial version of Enterprise Architect and choose to evaluate either the Unified or Ultimate edition. Please note that installing the EA Trial edition will uninstall your existing registered version, so you should either install onto a different machine, or make sure that you have backup copies of your registered EA installer and license key to re-install later.

My team has begun to deploy the "easetupfull.msi" and the "EAUserGuide.msi" and the "EALite.msi" on Citrix XenApp 7.
"easetupfull.msi" and "EALite.msi" won't install side-by-side. Whichever one is installed second will uninstall the first.

Once these operations have be done, the team receives this message through a popup box " Sorry, the full version of Enterprise Architect requires a valid key. The application cannot continue" (click on "OK" button). They test with all license keys, always the same message)

1) - I have verified that our license keys are valid in our customer account : ok (the renewal is ok for 2019/2020)
2) - I have verified in the EA PDF Guide the configuration of the full parameters for floating server : it seems ok)
3) - Perhaps, the floating server should be reinstalled ?
4) - Does the client must be activated after a new installation ? (with the activation key) ?
2) I assume you mean you have configured the registry settings described below the "Remote Floating License Installation" heading in the EA Deployment white paper?

These registry settings need to apply for each individual user (HKCU).

If not able to directly configure your registry like this under your current setup however, then there may be another alternative. Another way to have these floating license settings automatically applied is to create an ini file in the installation directory as described on the "Zero Configuration Client" help page. Please note however that this requires EA 13 or higher.

4) Yes, entry of an Activation Key is required for every user the first time they run Enterprise Architect. No supported way to automate this step.

Yes, the function you refer requires Pro Cloud Server. See:

Depending on the kind of external data source you are trying to connect with, you might also take a look at the new Data Miner functionality in EA 15.

Some Data Miner examples for importing from Excel and JSON data sources are included in the EAExample model with EA 15.

You should be able to use the SavePackageAsUMLProfile and GenerateMDGTechnology methods on the Repository class to help automate building of your Technologies.

As a basic example without any error checking...

Code: [Select]
//This script requires EA 14 or higher

var TECHNOLOGY_DIR = "C:\\Projects\\EA\\Technologies\\MyTechnology\\";

Repository.SavePackageAsUMLProfile("{725910FA-1F0C-47c9-9A36-0F138D3BE653}", TECHNOLOGY_DIR + "MyStereotypes.xml");
Repository.SavePackageAsUMLProfile("{00C6AF6F-2B28-4afb-9491-B8458FE94C8C}", TECHNOLOGY_DIR + "MyDiagrams.xml");
Repository.SavePackageAsUMLProfile("{9E5DB294-8505-4f33-8639-2728A21B4FE4}", TECHNOLOGY_DIR + "MyToolbox.xml");
Repository.GenerateMDGTechnology(TECHNOLOGY_DIR + "MyTechnology.mts");

I haven't encountered anything like this before. Hard to know where exactly the problem may lie without seeing your code.

It's certainly possible that the latency of a direct DB connection over a VPN could introduce performance problems. Using a cloud connection instead may help alleviate some performance problems.

Have you tried either debugging your add-in or writing out trace statements to see at what point it appears to be hanging?

If you can provide samples of your add-in code and want to investigate further, please send to and we'll see what we can do to help.

Hi Steen,

Correct. It's not possible to rename a tagged value thru the GUI, but it looks like it's possible via automation / scripting. Just get a reference to the TaggedValue object that you want to modify, change it's Name attribute, then call Update().

Pages: [1] 2 3 ... 62