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

I'm working on a SysML activity diagram and cannot achieve the following:
- I created an action of type callbehaviour and selected an activity -> is there a way to display the classifier i.e. the activity name or does it require an enhancement?
- I created action pins and set the direction as input & output for each. Is there a way to display the direction with an arrow? (it's available on other SysML tools)


General Board / EA13 image assets
« on: January 27, 2017, 12:40:57 am »

I looked at the image assets introduced in EA13.
It's very useful since I have a number of projects where we had to organize images, which is a pain with the Image Manager.

- When converting an image to an image asset, is this asset linked with all image instances on the various diagrams? It didn't seem to be fully the case when I did a number of tests (especially checking with the Find in all diagrams..)
- Can we have a feature to convert all current images, or a selection to image assets so the convert doesn't have to be done individually? If not, can it be achieve via the API / scripts?
- Can I safely add tagged values to image assets e.g. to apply a category value?
- Will the image library on  be released as images assets for EA13?



I defined a SysML block definition diagram with my main block and parts via compositions. A role name + multiplicity is defined on each composition
As a result a properties compartment shows up on the block with the associated role + block name

Other SysML modelling tools also display the multiplicity; could this be displayed via an option?



When defining a statechart diagram, it can be useful to associate a transition & trigger event to a real class (or sysml block) operation.
This is an alternative to name the transition after the triggering event (free text, not linked with anything).

In the transitions properties > Constraints tab, I can create a Trigger with the Call type to select an operation. The issue I have is that this trigger must be named so if I change later my operation, it is not automatically renamed on the diagram.
Would it be possible let's say for unnamed triggers to display the linked operation?



Synchronize structural elements on a SysML IBD is useful to add all parts.
Would it be possible to add an option where all the parts structural elements i.e. ports could be automatically added as well? Is there a workaround currently available to add all parts' ports (and parts) without having to run a custom script ?

Let's say you have 5 aggregations from your main block to blocks that have 2 ports each. Is there a way to avoid having to add inherited ports & parts via the structural elements popup on each 5 part in the IBD?


Bugs and Issues / EA13 + SysML: show port classifiers & property binding
« on: December 21, 2016, 07:29:40 pm »
I found a new diagram option under Elements in EA 13: show port classifiers.
This would be useful however I cannot get it to work.

I created a simple SysML BDD with a block + port, and set the port's classifier to a block.
The classifier is always visible, whether the option is disabled or enabled.

I also noticed the following announced improvement: "Part name change will now update bound Association role". However when renaming the part in the IBD, the association end role for the aggregation is not modified. Renaming the association end rolename updates the part but this is available in 12.1 already.

I'm running the latest 1309 build.


General Board / Associations order in the generated XSD file
« on: December 09, 2016, 03:11:55 am »

I have a project where we defined XSDcomplexType classes to generate XSD files.
Using EA Generate XML Schema command, here is an extract of what I get on the associations created between complex types:
Code: [Select]
<xs:complexType name="ComplexType1">
                    <xs:element name="element1" type="xs:string" minOccurs="1" maxOccurs="1"/>
                    <xs:element name="association1" type="Association1" minOccurs="1" maxOccurs="1"/>
                    <xs:element name="association2" type="Association2" minOccurs="1" maxOccurs="1"/>
                    <xs:element name="association3" type="Association3" minOccurs="1" maxOccurs="1"/>
                    <xs:element name="association4" type="Association4" minOccurs="1" maxOccurs="1"/>
Having looked into details, EA uses the created order i.e. Connector ID value from t_connector table (I get association 4 before association 3, if I created associations in the order 1 / 2 / 4 / 3).
So the I'm looking for a way to let EA users change this order.

Could the Generate XML Schema in Sparx EA be improved to support that e.g. via tagged value or else?
I tried the Schema Composer which seems to apply an alphabetical order on the role name only. I also noticed that the Schema Composer doesn't generate an XSD content as complete as EA Generate XSD file.
I'm aware that a Schema Composer addin can be written to generate an XSD file and support additional tagged values. I did something similar to generate JSON files before, but the current context requires an option that's built in EA.

Could it be looked at by Sparx?


Bugs and Issues / SysML 1.3 IBD and EA13
« on: December 08, 2016, 11:38:13 pm »

I noticed 2 weird behaviours in EA 13 (build 1309) and SysML IBD (SysML 1.3)
I created an IBD from a block; this diagram is automatically created under the block and I can see a frame view of the block.

Once I move this diagram to a separate package, this "frame" is replaced with the block itself ; how can I prevent this? (note that if I moved it back under the block, it's ok)

I also found that port names on an IBD can be blurry when you first open the diagram (it eventually goes back to normal).


Bugs and Issues / stereotyped SysML blocks and IBD
« on: November 23, 2016, 08:11:57 am »

I defined a UML profile with stereotypes on SysML blocks.
Adding an IBD on those blocks work ok (sync element show properties and ports).

However when I add a stereotyped block as a "property" (SysML 1.3 Part), nothing happens.
If I create a normal SysML Block and then add / select my custom stereotype, then it works ok. It looks like the expected behaviour is obtained with the SysML 1.3 Block is selected as the main stereotype, and any custom stereotype must be added. This is not ideal as the associated toolbox doesn't achieve this.

Is there any this could be fixed? Any comment?



I'm working on a custom MDA transformation template with simple rules from UML Class diagram to a DDL Data Model.
The attributes transformations to perform are:
- length = UML attribute's upper bound --> length=%qt%%attUpperBound%%qt% (works ok)
- column's PK = true if UML attribute's  isId = true
- column's Not Null = true if UML attribute's  lower bound > 1

I'm struggling in finding the appropriate fields to set the latter two.. Note that the PK is stored in "t_attribute.isordered" and Not Null is stored in  "t_attribute.alloduplicates"
Any help will be greatly appreciated.


Bugs and Issues / MDG - Diagram profile options not applied
« on: October 26, 2016, 08:07:31 am »

I created an MDG Tech with a UML and Diagram profiles. In the diagram profile, I needed to hide the stereotypes so I set Features - Show stereotypes = False and Elements - Hide Element Stereotypes = True.
In the target EA project where the MDG has been imported, I created a diagram. Unfortunately the hide stereotypes properties on elements and features are not set as expected.
Is it a bug?


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



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?


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