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 4 ... 44
After further investigations, it appears that tagged values order cannot be changed under groups (it's always alphabetical)


I have 20 tagged values in a stereotype separated by Tag Groups.
The order you move a tag to a group defines the resulting order in the stereotyped elements.

I found the _tagGroupings attribute on the extended metaclass (Class for instance) with this list as the initial value. So I thought I could edit the order with the ; separated list. Unfortunately this list reverts back to where it was as soon as I open the Profile Helper.

I was wondering if there's an easier way to update the order of the tags under each group.


I found a solution in updating the ea_guid first part to match a genuine stereotyped connector in t_connectortag for each tagged value via a script.

A bit cumbersome though...

As an alternative to the Template Package, I defined a script that resets the default background colour on the enum and data types.
It's working well but I need to run it on a regular basis.


I need to define a default colour via an MDG with a UML profile on my stereotypes + default UML elements: Enumerations & Data types (see UML class toolbox -> Enumeration, Data Type)
The UML Types options makes it possible to define a colour for a stereotyped class e.g. datatype stereotyped class. However it doesn't let me change an Enumeration colour. Furthermore I'd like this to be set in the MDG instead of the EA clients options.

Is there any way to do that?

I hope it makes sense


I use the MDG Integration for Office to import elements and connectors. With a connector profile, I can create an association that is stereotyped with my UML profile e.g. MyProfile::CustomAssociation.
When I map the Excel columns with the stereotyped association tagged values, I get tagged values that are not linked with my stereotype.
-> when opening the connector Tags tab, I see the list of tagged valued with the header "Association" instead of "MyProfile::CustomAssociation"
I tried to set the mapping with my stereotype e.g. CustomAssociation::tag1 but it is ignored.

Is there a way to have connectors tagged values linked with my profile's stereotype? It works fine when I import stereotype elements.

Note: when mapping Excel columns to a stereotyped connector's tagged values, I found that empty cells lead to deleted tagged values so I have to set a "-" to keep all tagged values (seems like a bug)

Thanks for the info Geert.

You have to use 'Generalize' if you are extending from a stereotype, it is a recommended practice to also have the actual meta class (that A extends) included in teh definition and have an extend connector from B to the Metaclass

So B must be a Subtype of A and extend the Metaclass.

As a side note, I always followed this practice of extend the MetaClass e.g. Class and create a Generalization to the existing Stereotype (e.g. Archimate, SysML...).
I noticed that it works when I don't extend the Metaclass but only use a Generalization. Hence I wonder if there's any use in including the Metaclass.

Further to the previous post, it seems to be working when I only use stereotyped blocks (not standard ones).
In the UML profile, I found an interesting stereotype property : for a Block stereotype, I can set the matching stereotype when created as a part: Edit with Profile Helper > Instance Behaviour > Type = "..." (note: Mode is set to Property). In the IBD, running a sync structural elements creates the expected stereotyped parts but I'm getting issues with the parts' ports (port type not set properly, direction missing...)

Anyone managed to get a UML profile definition working from the BDD to the IBD incl ports, parts, parts' ports, etc (or known issues)?

I created a stereotype on a SysML block to manage blocks that type my system's blocks ports (e.g. have them shown in a chosen colour).
When I create a port on a block, EA doesn't recognize the "port type" stereotyped blocks to set the port's type.

I checked the "port type" stereotyped blocks and they are SysML Blocks with the additional stereotype from my MDG.

I use SysML 1.4 and EA 13.5 build 1352.

Is there a solution to this?

Bugs and Issues / Re: Diagram element Align keyboard shortcut don't work
« on: August 23, 2018, 03:39:47 pm »
We've had a lot of fun when people leave their machines unlocked by software rotating one monitor, physically rotating the other, and changing their mouse to left handed.

Did that a while ago, and more recently a colleague switched 2 keys on another colleague's keyboard (can't remember which ones)... Office fun  :D

Bugs and Issues / Diagram element Align keyboard shortcut don't work
« on: August 21, 2018, 05:39:32 pm »

I got a question during an EA training on the Align keyboard shortcuts e.g. Ctrl Alt Left doesn't work as it rotates the screen.
Hence I wonder if these shortcuts actually work (I never used them)

General Board / Re: EA data model
« on: August 01, 2018, 04:16:56 pm »
Inside EA ebook will provide all the details you're looking for. I recommend to purchase Scripting EA.


I have a SysML activity with mixed parameters that include one of the following :
- Continuous stereotype set with a selected rate under the tagged values
- Stream property set

In EA14, the parameters tab is missing so I cannot access the Stream and other details there -> looks like a bug
In EA13.5, when I create a CallBehavior action that invokes the activity, the action pins matching the parameters are created, yet they're missing full properties like Stream, Continuous, rate, etc.

I created a SysML BDD with SysML Activities with compositions.
You can actually get an example from EA14 Model Pattern > SysML 1.5 > Activity with Actions and Control Flows

Where this pattern has all actions on the activity diagram matching the BDD links and role names, this could be handled via the Synchronize structural elements, similarly to the IBD and BDD behaviour.
EA provides access to the Synchronize command, somehow it attempts to create "parts" instead of actions.
Is there a plan to create/update actions under an activity when composition to other activity elements are found?

For reference, see a post from Tim W here:

Pages: 1 [2] 3 4 ... 44