Book a Demo

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] 2 3 ... 94
1
Using the latest EA17.1 build 1716, I noticed an annoying bug when I try to copy a diagram image to a word or powerpoint (Ctrl+C / Ctrl+V). The resulting image is cropped i.e. it doesn't match entirely the source diagram.
It seems to mainly happens when I use 2 screens.
As a workaround, I have to publish the diagram to a file.

Is this a known issue ?

2
Suggestions and Requests / Update a Baseline
« on: April 29, 2026, 09:48:52 pm »
Hello,

Once a baseline is created in EA, it is not possible to update its version or notes.
It would be nice to have a way to change the version and/or notes content from a selected baseline (new Update Baseline button). This could have an associated Permission for Security based projects.


3
PCS General Board / Re: Project Transfert via the PCS OSLC API
« on: March 18, 2026, 08:45:56 pm »
I submitted it as a feature request with the alternative approach to manage it via the PCS Config Client, similarly to the diagram images update scheduling: with this application, an admin could configure regular backups for a selection of configured EA databases.

4
PCS General Board / Re: OSLC PCS SynchProfile method ?
« on: March 18, 2026, 12:16:01 am »
Hi,

Thank you for the advice. I figured out the stereotype was properly set. Having fixed it, I confirm the tagged values are created in the new element based on the MDG definition, available on the EA project.

Guillaue

5
PCS General Board / OSLC PCS SynchProfile method ?
« on: March 17, 2026, 12:30:03 am »
Hi,

EA Interop API provides a method to synchronize the MDG's stereotypes i.e. matching what one can do in EA via a right click on a stereotype in the toolbox  > Synchronize Stereotype
Example:    Repository.CustomCommand("Repository", "SynchProfile", "Profile=myProfile;Stereotype=test;");

As I create stereotyped elements matching a profile (custom MDG) via the PCS OSLC API, is there a way to run this Synchronize command so that all tagged values matching the profile definition are created ?

Thanks

6
Bugs and Issues / XEA Import error
« on: March 14, 2026, 02:15:49 am »
Hello,

I tried to import a large XEA file with a GUID reset to a new EA repository (shared on Postgres, available via the PCS 6.1.166) and I eventually get an Application Error.
Opening the DBError file, I have the following:

Enterprise Architect (Build: 1628 - 64 bit)
Sparx Systems Database API [0x00001086]
Native Update FAILED with error:
23503 ERROR:  insert or update on table "t_connector" violates foreign key constraint "fkam9fr64t66r6dgjgo3mfoji2a"
DETAIL:  Key (end_object_id)=(0) is not present in table "t_object".
Context:

What could be the issue ?

Updates:
- I upgraded the PCS to the latest build but it didn't resolve the issue
- I ran a project integrity check
- The workaround I found involved importing the XEA file to a blank EA project and re-exporting it with the Strip GUID enabled. I wonder if this is related with conflicts on external dependencies that are removed down by going through a blank EA project. The size of the new file is a bit smaller that the original one




7
In order to create full backups of an EA repository on a regular basis, it would be very useful to configure them via the Pro Cloud Server Config Client.
It would be a new feature alongside the configuration of periodically generate Diagram Images and EA Charts.
A target folder would be selected so new subfolders would be generated each time with the full set of XML files matching EA tables.

Whilst DB backups can be set up on the selected DBMS, such backups have the advantage of being managed with EA.

8
Hi,
Is there a way to open an XML file from a local path in EA source editor via an add-in ?
I have an addin that creates a file and I'd like to open it in EA once generated.

9
Ok. A workaround is to disable the Lock Connectors option and create a model based addin to prevent creating relations only between locked elements.

10
With this option, I can't create a relation between locked elements, but if I need to create a relation between a locked element and an unlock element, it only works if the source is on the unlocked element. Is it because the connector is created on the source element?

11
Hi,

Filters are useful to hide or grey out elements or connectors from a diagram.
There are currently 3 filter sets: Element, Connector and TagValue. The last set applies to elements' tagged values. Would it be possible to support connectors tagged values as a new option?
Working on a UML profile with stereotyped relationships, it would be great to easily filter such links based on their "stereotype" tagged value.

Thanks

12
Hi Geert,

Currently I have 3 or 4 characters in my list of predefined values which makes it tricky to have a consistent result i.e. it's currently fine for values with 3 chars, not 4.
I'll have a look at your examples as it sounds like a fine idea to fix the rendering issues, thanks  :D

Guillaume

13
Hi,

I'm looking at the Workflows scripts to implement control rules e.g. to prevent groups of users from creating or updating specific model content.
First of all, I noticed on the user guide that VBScript workflow scripts are deprecated i.e. add-ins are recommended. Am I right to understand Sparx suggests using Model-based addins ?

According to the "Functions - Validate and Control User Input" page, a script can be triggered with events such as before creating an element or a connector, or before updating a tagged value. For other updates on existing elements, it doesn't seem to be possible to trigger a control before updating an element's notes or name, or creating/deleting/updating an attribute. Is there a workaround with Workflow vbscripts or by switching to a model-based addin ?

I noticed that add-in events include EA_AllowPropertyUpdate which is not supported in the script but I'm not sure if it's related with an attribute update.

14
Hi Takeshi,

Thank you for the explanations  :)

To summarize, the parameters are:
1- Shape name
2- Width
3- Height
4- Relative value (horizontal to move left/right ?)
5- Relative value from the reference point (vertical to move up/down?)

Hopefully Sparx team will add clarifications and examples to cover these additional parameters in the user guide.

15
I just came across a similar issue.
Using a subshape to display the text is great but I can't find the parameters definition for "addsubshape" matching this signature: addsubshape("test", 50, 50, -50, -50);
I'm struggling moving the text to the right location by changing the 4 values (top? width ? ...)

The information I found from the user guide is addsubshape(string shapename(int width, int height))

Pages: [1] 2 3 ... 94