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.

Topics - Guillaume

Pages: [1] 2 3 ... 20
Bugs and Issues / Call Operation action and Ctrl+L shortcut
« on: November 19, 2018, 07:33:47 pm »

I created a call operation action that I need to associate with a SysML block operation. I expected the Ctrl+L keyboard shortcut to let me achieve that however it looks for behaviour instead of operations.

Suggestions and Requests / Text Elt & Note: Link to Package or Diagram Name
« on: November 16, 2018, 08:06:39 pm »

UML/SysML annotations are great to display dynamic info on a diagram by linking it to an element or a diagram.
For an element such as a class, one can associate the element notes, an attribute's description.

For diagrams, the annotation content can be linked with the diagram notes.

It would be nice to extend this with the following:
- For an element, have the Element Name so my annotation would display the package/model name. The same would need to be done for a diagram
- Include this feature for text elements (A in the common toolbox).

The aim is to generate dynamic title elements to help users in browsing through the model via diagram, or via the web if using Prolaborate web solution.


I opened a SysML project with EA14 (latest build). I noticed that I get frames displayed in the back on SysML diagrams.
Opening this project again in EA13 shows that a package has automatically been added.

What is the reason for doing this? (is it related with the SysML OMG spec?)
Is there a way to disable it?



I defined a statemachine diagram to simulate in the interpreted mode.
When I entered a state, a variable value is set e.g. this.waitingTime = 10 and decreased until reaching 0, triggering another state and associated waiting time.

I initially wanted to run a "sleep" function but didn't find anything.
Currently this is a self transition that exits and enters the state with an effect: this.waitingTime--;
There's another outgoing transition when this.waitingTime reaches 0 to move to the next state.
Note: I tried to use operations (Do) with a Behavior code that also decreases the value but it's only executed once.

On one state I want to have a trigger that lets the user leave this state. Unfortunately this trigger is not available when executing the simulation. It seems that the simulation engine does not have time to provide this waiting trigger as it keeps changing the state.

Is there any workaround?

Bugs and Issues / State machine manual simulation and substates
« on: October 08, 2018, 11:56:45 pm »

I'm reviewing EA state machine simulation functions, starting with the manual simulation.
I noticed that my system state machine didn't let me choose  the next trigger when more than one outgoing transition is defined on a state. I eventually figured out that using a transition out from a state that contains a state machine breaks the manual simulation.
Consider the following:
Initial -> OFF
OFF -> ON via the "on" trigger
ON -> OFF via the "off" trigger
ON has a state machine with STOP, PLAY, PAUSE. I have a 2 transitions from PLAY: Stop and Pause.

The manual simulation only prompts to choose between Stop & Pause to leave the "ON.PLAY" state if I delete the trigger to leave state ON to OFF.

Is there a way round to make this work, or is it a limitation in using the manual simulation?

Note: I found a solution in linking all ON substates to the OFF main state with the same trigger name (end states don't work). It doesn't look as clear as the original diagram but all scenarios work. It's similar to Sparx EA Example called "Nested Traces Example"


I want to use let's say "MyType" stereotype on a number of elements e.g. a MyType SysML block and a MyType Part.
When I export the UML Profile, the resulting XML file is missing the parts' stereotypes definitions. It seems like EA doesn't like stereotype duplicates.

As a workaround I can create separate UML Profiles to embed in my MDG, but I was wondering if this is a known issue.


With a script, I update an element on a diagram when a connector is deleted. I'd like to reload the diagram to see the changes.
However since the trigger event is caught before deleting the connector, doing this crashes EA.

When creating a new connector it works because the event is OnPostNewConnector.

It would have been nice to have a PostDeleteConnector with the diagram ID and some of the deleted connector's details like its type, stereotype, + source & target object ids so I can refresh the diagram.
The only way round I can think of is to create a fake element to trigger a reload but I don't really like that.

Any comments on addressing this scenario so the user doesn't have to save & reload manually?


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?


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

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 / 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)


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