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 ... 43
1
Hi,

I'm getting via  SQL query the t_connectortag.NOTES content that I need to copy to other records via a SQL update. I'm getting issues in the result as the Carriage Returns are not properly maintained.
I have a variable newNotes = node.selectSingleNode("./NOTES").Text that I use in
updateSQL = "update t_connectortag set notes = '"&newNotes&"' ....

Any idea on how to sort this out?


2
After further investigations, it appears that tagged values order cannot be changed under groups (it's always alphabetical)

3
Hi,

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.

Thanks

4
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...

5
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.

6
Hi,

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

7
Hi,

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)

8
Thanks for the info Geert.


9
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.


10
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)?

11
Hi,
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?

12
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

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

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)


14
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.

https://leanpub.com/InsideEA

15
Hi,

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.


Pages: [1] 2 3 ... 43