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 ... 5 6 [7] 8 9 ... 37
General Board / Re: Updating element Tags
« on: October 06, 2016, 08:54:10 pm »
Whilst synchronising a stereotype that has the same name is possible, it's more complicated when one has renamed a stereotype.
In version 1, I have a simple StereotypeA on UML classes.
In version 2, I've renamed it to StereotypeB and added a property (tagged value in stereotyped classes).

Shouldn't EA find that the stereotype has the same guid and should rename the stereotyped elements accordingly?
Since this is not the case, has anyone carried a script to achieve this? I'll give it a try for a script that should achieve the following:
- purpose: rename and sync stereotypes
- create 2 arrays, one with the stereotype name in the previous version, and one with the stereotype name in the new version
- for each entry in array 1,
    retrieve all elements which stereotype = stereotype name in the array
    rename the elements stereotype with the new stereotype name
- run the sync command on the new stereotype name

General Board / Re: Tagged Values order
« on: September 14, 2016, 10:30:57 pm »
I found that EA sorts Tagged Values according to the PropertyID value which is read-only (via the API or a SQL UPDATE). It explains why TV are listed on the created order.
Hence it looks like we need an enhancement in EA from Sparx to achieve this.

A script could attempt to create tagged value clones with the requested order and delete the old ones but that doesn't sound right.

General Board / Tagged Values order
« on: September 14, 2016, 06:52:48 pm »

I tried to find a thread on this topic as I have a feeling it's been discussed before: is there a way to change the order of Tagged Values that have manually been created on a Class or an Attribute?
I cannot find any position property in the DB e.g. within t_attributetag or t_objectproperties

EA seems to display them in the order according to their creation date/time

Any hint?

General Board / Re: Transferring EA projects into a single one incl. images
« on: September 13, 2016, 11:55:55 pm »
Thanks Q for your feedback.
These EA projects were set up this way years ago and this is a one off consolidation task so I'm running it manually (I don't see in this instance useful to investigate in a script)


General Board / Transferring EA projects into a single one incl. images
« on: September 13, 2016, 08:16:54 pm »

I have several EA Projects that were all duplicated by a team from the same empty/base project. I need to copy each project's model root into a central new EA project.
As all projects have GUIDs in common, I have to strip GUIDs when importing into my new project (I use the XMI Model export/import).

My issue is that I'm losing associations with images. Even when I run an export/import reference data of the model images, it doesn't solve my issue.

Is there any workaround available?


Hi Geert,

Once the MDG has been installed, do you think that a setup script could move scripts from the MDG to a new Diagram Group?
Have you got a script available that moves scripts from the MDG scripts group to newly created groups?

I was thinking of running a SQL update instead but I cannot find the MDG scripts within the t_script table. Having the MDG imported in the model, I'm expecting it to be stored somewhere in the EA DB but haven't found it yet...



I defined a custom SysML value type in a UML profile for a client (extends UML data type, generalizes SysML ValueType).
Having created flow properties on a block, I cannot set my Value Type as the property type based on the filters that are applied by EA.

A workaround is possible but this looks like a bug.


Automation Interface, Add-Ins and Tools / Apply type to change stereotypes
« on: September 06, 2016, 05:41:44 pm »

I have an MDG with SysML block stereotypes. When I create a "typeA" stereotyped block, I use to copy & paste as a new element. I want to easily apply a different stereotype on this new block e.g. change "typeA" to "typeB". As regards I used the toolbox & option Apply Block Type.
Unfortunately this block gets an additional stereotype so ends up with typeA & typeB.
I'm aware that this feature is intended to easily change an element type e.g. from a class to an interface, however I'd have expected stereotypes to be managed  in a different way.

Is there a workaround to easily change stereotypes?



If you're working with the security DB tables to retrieve permissions, you may find the following article useful as it contains a mapping between the ID and name as displayed in EA security interface.
I couldn't find a full list from the Inside EA ebook but it was easy to build. Feel free to use and share!


General Board / Re: Customise EA12 menus with menu sets
« on: August 23, 2016, 03:50:52 pm »
Hi Paulus,

This is indeed what I did following Simon's comment.


General Board / Re: Customise EA12 menus with menu sets
« on: August 22, 2016, 04:28:24 pm »
Thanks for the information Simon. I can see differences in the registry when I remove menus so I have my answer :)

General Board / Re: Customise EA12 menus with menu sets
« on: August 19, 2016, 06:13:26 pm »
Hi Simon,

Thanks for the info. It will be useful for some of my clients.
I played with this feature having deleted some menus and commands.

Can you also advise the registry location or any file where this information is maintained? I looked at the Registry under Sparx Systems but cannot find any difference after the update.


General Board / Customise EA12 menus with menu sets
« on: August 18, 2016, 04:36:42 pm »

I've used menu sets in Perspectives to cut down the menu content available to its users. This customization really helps new teams adopting EA as they don't get lost and confused between  features they may never use.
What I don't understand is the list of menu commands that you can hide via checkboxes. Why Sparx doesn't provide a list that matches exactly the menu tree so it's easy to check the feature that are not needed. (is it because menus always get changed between versions?).
Considering the current state of this list, is there any table that maps the current tree list with EA12.1 menus?
Here is an issue I'm having: I want to remove the ANALYZER menu for users, however I still have some features available when Execution Analysis is unticked. Having disabled all options for a menu set, I discovered that a number of features remain available. It makes sense for some features under File and Edit, but it doesn't for Analyzer, Element > Project Management, etc.

Could some leftover menus be hidden perhaps with an additional option? I looked at the userperspective XML file -> an id to each hidden feature is provided so could it be tweaked by adding additional values ?


General Board / Re: Share model components between different projects
« on: August 04, 2016, 09:47:43 pm »
Hi Alex,

You might want to look at the RAS (reusable asset service) feature to publish your shared model. This lets you publish several versions of common models which can be imported into any EA Project (a password can be set if needed).
You get a clone copy of your shared model on each EA project which can either be a model root or a package - it's up to you.

It requires the Cloud Service which you already have.


General Board / Re: EA floating license problems
« on: August 02, 2016, 08:34:26 pm »
Further to my previous post (query is still active), I wonder how relevant the following recommandation in the Keystore user guide is :
This acts against the purpose of having the checkbox. It is therefore advisable to create two key stores, each with a different setting for Auto checkin
- Mobile users who want to use Enterprise Architect from home or other disconnected locations : Auto checkin Not selected
- Fixed users who leave their computers at work : Auto checkin Selected

Let's say you have 30 floating licenses for a pool for 90 users. Amongst those users, 5 need to work offline from time to time. If we assign 25 licenses for the 85 fixed users, and 5 for mobile users, we would be better off purchasing cheaper fixed licenses for mobile users.
If we instead assign e.g. 23 licenses for fixed users and 2 for mobile users, we potentially block mobile users from using EA even when they're online and could benefit from the 23 licenses pool.

There doesn't seem to be a simple answer for this issue.
Perhaps EA should let users explicitely reserve a key e.g. for 1 day (a password could restrict access to this feature) before going offline. They should also be able to release a key. -> possible enhancement?

I would in the meantime recommend the following (a suitable option will depend on the team size and use):
- disable the auto-checkin and leave the expiry duration to 1 day (note that mobile users will be limited to 24 hours offline). This option should work if there aren't too many users connecting within a 24 hours timeframe. Install the Key Store manager application for some users so they can manually release keys if needed
- if the ratio of mobile users is quite high, and they often use EA, purchase a fixed license for this pool of users (cheaper than the floating ones)
- create 2 servers as suggested previously and work out an optimised repartition of keys between fixed and mobile users.

What do you think?

Pages: 1 ... 5 6 [7] 8 9 ... 37