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 - Guillaume

Pages: 1 ... 3 4 [5] 6 7 ... 39
General Board / Re: Question regarding uploading a new profile
« on: May 22, 2017, 11:19:07 pm »
I noticed that EA does not take into account renamed stereotypes so I had to define a script that lets the user enter the old & new stereotype name.
Once done, Geert's script can be run to update all stereotypes.

I didn't put a script to update tags as I left the users handle that, but it sounds sensible to write one.


General Board / DB Reverse with views - SQL query
« on: April 28, 2017, 05:33:09 pm »

When I import DB views , I can access the associated SQL query which is useful, but not in all cases.
For some DBs, the content is empty.

I mainly use Postgres and Oracle.
Any explanations on why the content is sometimes empty?

Note that I'm planning to define a script that creates columns in the view matching the SELECT clause from the embedded query. I think it would be nice to have this built-in EA as an option.

General Board / Re: A simple question about Models & Views
« on: April 14, 2017, 05:31:19 pm »
Hi Sylvain,

I agree with Peter, models or "project roots", views, and packages are just ways to organize your EA modelling project.
Sparx built-in wizards can be useful to see or use such examples of models.
Once EA projects are deployed to a team in a collaborative/shared mode, they're often amended to have a model structure that fits the current context.
There is a number of factors that can change the structure such as the team size, the number of projects/teams, a framework or pivot model, remote access, backup, versioning, etc.

Please feel free to contact me directly on to discuss further.


It fixed it, thanks !  :)


In C#, I run the following           
eaproj.DoBaselineMerge(packageGUID, packageBaselineGUID, "<Merge><MergeItem guid=\"RestoreAll\" changed=\"true\" baselineOnly=\"true\" modelOnly=\"true\" moved=\"true\" fullRestore=\"true\" /></Merge>", null);

It works but I get the following error: the currently selected package doesn't exist in the comparing document.

The odd thing is that packageGUID matches the Package against which the baseline was created.

Any clue?



I have a package baseline GUID and the associated EA.Package in my addin class.
I checked how the information is stored in the DB as a zip base64 coded content from previous post.

However it doesn't seem to be possible from Sparx EA API or SQL queries to load the XMI content e.g. via an XMI import?

Submitted as a feature request

General Board / Re: Set Default Line Style?
« on: April 07, 2017, 11:35:41 pm »
I recommend EA-Matic. It's easy to set up and it does the job :)

Thanks Geert!

I confirm that the Reload button doesn't always work (it didn't yesterday)

I noticed in some occasions that EA no longer takes into account updated VBScripts and runs a "cached" previous version of it.
This can happen when I often change a number of scripts, or when I often re-run Reference Data imports, containing my scripts.

It's only when EA is restarted that the right code is run.

Is there any way to prevent that?

Bugs and Issues / Align Package and Class elements
« on: April 06, 2017, 09:07:25 pm »
I found a weird bug in aligning elements on a diagram with EA 13.

In a class diagram, I select packages and classes (classes shown within packages) to align vertically -> clicking on the button (LAYOUT > Alignment > Align Vertically) doesn't do anything.
Using the right click on the selection and select  Align Vertically moves them to the left -> seen both in EA 13 and 12.1
I would expect the packages and classes to be aligned vertically altogether.

Suggestions and Requests / Select scripts in the Export Reference Data
« on: April 06, 2017, 09:02:19 pm »
It would be very useful to have the option to select the Script Groups to export when running Export Reference Data with Automation scripts enabled.
I often need to push custom scripts to my client in this file ; however my EA project often have other groups that are automatically included. Hence I have to re import to XML in a blank EAP and delete the unwanted groups.

The MDG could be an option once it maintains the script group type which it doesn't do currently (e.g. Diagram, Package script types are lost when published via an MDG)

Uml Process / Specification manager and Boolean tagged values
« on: February 09, 2017, 02:04:46 am »

I'm using EA13 and displayed a tagged value in the specification manager.
It's a boolean so I can choose between True & False. It displays ok in the spec management but it cannot be changed. I can only edit standard text field tagged values.

Should I submit a feature request?


I submitted the action pins direction as a feature request.
I think it would combine well with BDD/IBD where ports direction is shown provided flow properties are used.


It works, thanks Helmut!

Note: this option is only available in EA13

Pages: 1 ... 3 4 [5] 6 7 ... 39