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

Pages: [1] 2 3 ... 7
1
Bugs and Issues / Timeaware Modeling TMA does not support Grouping
« on: March 20, 2025, 03:29:15 am »
I followed the TMA approach and created a "Clone a New Structure" of a package.

If I right-click on Grouping, “Clone Element as New Version” is enabled, but cannot be executed. Nothing happens.

Regarding ArchiMate, Grouping can aggregate or composes an arbitrary group of concepts, which can be elements and / or relationships of the same or of different types, based on some common characteristic. So, it is an element like the other elements.

I was using version 16, because I learned, that version 17 does not support TMA as before.

2
Bugs and Issues / Timeaware Modeling TMA - bug in version 17 ?
« on: March 18, 2025, 09:28:53 pm »
Hi,

I created a new package, a new diagram in it, a new element and a second element with a composition-relation between them on the diagram.
I created a clone of the package and changed the version to 2.0. The cloned diagram shows the first and second element with its composition (as expected).
In the cloned diagram, I cloned the original element and changed the version to 2.0.

As a result I expected that the built-in traceability window, "insert Related Elements" and the own traceability diagram show the trace relation.
• works as expected: :
  - in version 16.1.1628 64-bit with qeax.
  - in version 15.2.1560 32-bit with eapx.
• does NOT work as expected in version 17.0.1704 32 bit and 64 bit with MariaDB, qeax, or feap. The built-in traceability window does not show the trace relation. The "insert Related Elements" does not show the trace relation (rem.: the composition is shown).

I verified the steps several times.

3
Hi,

I tried Time Aware Modeling, but I am not sure if I understood TAM completely.

I reference the tutorial in https://www.youtube.com/watch?v=o47uZYgSgDE. If I follow the tutorial and clone the package and the element, I get:
  • a new package,
  • a new diagram,
  • a new element,
  • a trace-relationship between old and new element, useful for the traceability diagram, and
  • the relationships are also copied.
The cloned element is in fact just a new element with a new GUID. But there is nothing what a cannot achieve without “cloning” or following the wizard. I am afraid that I missed something. What is it?

Many thanks in advance, V.

4
Hi, I am using an Archimate "Interface" with "Icon Notation" (hopefully this is the correct name. The command is: right-click > appearance > use rectangle notation, with turns the check off, if the icon is used).

I dublicated this Interface with "virtualize connector end". But the dublicated element is shown as "Rectangle Notation".

Questions are:
  • Is there a way to change the appearance (shape) of the dublicated element to Icon Notation or reuse the notation of the orginal one?
  • Why is it implemented that way at all and does not just copy the notation of the original element?

5
Automation Interface, Add-Ins and Tools / Assign Color to Tab
« on: February 07, 2025, 08:37:03 pm »
Hi,

(1)
can I assign colors via Add-In to Tabs in the TabPages EA uses to show the diagrams?

(2)
can I assign colors to a Custom Tab I insert via Add-In in the TabPages?

I tried this, but it does not work:

var customView1 = new <myUI>();
var tab1 = new TabPage("<myUIName>");
tab1.ForeColor = Color.LightYellow;
tab1.Controls.Add(customView1);
tabControl1.TabPages.Add(tab1);


V.

6
Automation Interface, Add-Ins and Tools / Extend a Menu
« on: January 29, 2025, 05:38:45 am »
Hi, I created a menu and everything works fine. The menu appears, when I hit my created Add-In button under “Specialize”. Maybe this is all I can get.

But if I remember correctly, it is / was also possible to add a menu-item to the right-click-menu / context menu as “Extensions”. The manual is a little bit "misleading" here because it does not show pictures / the result. But I found an example from Gert Bellekens at https://bellekens.com/2015/01/11/using-add-in-menu-with-ea-matic/. That shows “Extensions”.

So, my question is: is it possible to change a standard-menu and if yes, how?

As I said, my menu works. I followed the manual and checked with the example from Gert.

7
Hi, I wanted to use the same icons as used by the built-in toolboxes (e.g., BPMN). So, I extracted and converted them from the according MDGs. Surprisingly, they have grey backgrounds.

My questions are:
  • Where are these icons with grey background used? Or is there are trick to show them as intended? I read in articels and in the manual the grey is the color of choice for icons.
  • If there is no trick, where can I find the icons displayed in the toolboxes (with transparent or white background)?
  • Some icons are missed in the MDG (e.g., Pool of BPMN). How is it possible for EA to display them?
V.

8
Automation Interface, Add-Ins and Tools / MDG development by AI
« on: December 14, 2024, 07:15:13 am »
Hi, I asked an Artificially Intelligent Tool following question:
In Sparx Enterprise Architect, I want to create a stereotype that is shown as an Archimate Application BusinessProcess in an Archimate Diagram and as an Activity in an BPMN diagram. Do I need to specialize and extended any types?

The answer was:
"Yes, to create a stereotype in Sparx Systems Enterprise Architect that can be shown as an ArchiMate Business Process in an ArchiMate diagram and as an Activity in a BPMN diagram, you will need to extend and specialize certain types. Here are the steps to achieve this:
Steps to Create the Stereotype:
1.   Create a Profile:
o   Go to Settings > UML Types > Profiles.
o   Create a new profile package with the <<profile>> stereotype.
2.   Add Stereotype and Metaclass Elements:
o   In the profile package, add a new diagram.
o   Drag the Add Stereotype icon from the Profile Helpers page of the Diagram Toolbox onto the diagram.
o   Name the stereotype (e.g., MyHybridProcess).
3.   Extend Metaclasses:
o   In the Add Stereotype dialog, select Element Extension as the type.
o   Click Add Metaclass and select BusinessProcess from the ArchiMate metaclasses.
o   Click Add Metaclass again and select Activity from the BPMN metaclasses.
4.   Define Shape Scripts (Optional):
o   If you want to customize the appearance of the stereotype, you can define shape scripts.
o   Right-click on the stereotype and select Shape Script.
o   Define the shape script to control how the stereotype appears in different diagrams.
5.   Save and Export the Profile:
o   Save the profile package and export it as an MDG Technology file.
o   Go to Settings > MDG Technologies > Export to create the MDG Technology file.
6.   Deploy the MDG Technology:
o   Import the MDG Technology file into Enterprise Architect.
o   Go to Settings > MDG Technologies > Import and select the file.
By following these steps, you can create a stereotype that behaves as an ArchiMate Business Process in ArchiMate diagrams and as an Activity in BPMN diagrams. This approach allows you to leverage the capabilities of both notations within a single stereotype."

To my surprise the tool understood that I am talking about Hybrid Elements / Objects (that was much clearer in other answers while the tool really used the term "Hybrid Element"). I asked the same in different ways, but the answers were always very similar to this one.

But is this really a valid answer? Are there really Metaclass BusinessProcess from the ArchiMate metaclasses amd Metaclass “Activity” from the BPMN metaclasses. My understanding is that these are stereotypes.
Or is there meant something else and this example really works?
V.

9
Hi

Maybe the used term is confusing. The term “hybrid object” is used for an Element that behaves appropriately in different contexts (e.g., as an BPMN Activity in an BPMN diagram and as an Archimate BusinessProcess in an Archimate Valuechain diagram.

I have a problems to understand and implement hybrid objects that they behave as expected (and they never do). So, wouldn’t it be much better using “redundant” elements and relate them to the “real” one with a relationship, for example “derived”, and flag the redundant element also with something like “derived”? In other words, let’s say the real element is represented as an Archimate Business Process. Now, I would like to use this element in a BPMN diagram. Instead of using (and creating before as an MDG) a hybrid object, I just create a BMPM Activity and relate this redundant element to the real one.

10
Hi,
(1)
I want to create a stereotype (or whatever) that behaves as a BPMN Activity in an BPMN diagram and as an ArchiMate Business Process in an ArchiMate Value Stream Diagram. So, I investigated a lot of tutorials (like the one from Ajiniza Mohamed Sultan from Sparx) but cannot understand, which MetaClasses to extend and which Stereotypes to inherit. Help with an explanation would be very welcome (Rem.: I know that I need a shapescript).

(2)
The same problem with another new stereotype, which behaves like an ArchiMate ApplicationComponent in an ArchiMate Layered Diagram and as a Pool in a BPMN-Diagram. Which MetaClasses do I need to extend and which Stereotypes to inherit?

11
Hi,

In "https://sparxsystems.com/forums/smf/index.php/topic,48647.0.html" we agreed that a Grouping is a composite element.

I would like to assign a Composite Diagram to it (more for navigation purposes (double-click) than really to reflect a composition). But this is not offered by SparxEA out of the box, which should be from my point of view.

My questions are:
1) can this be achieved via a database entry?
2) is there anything else to achieve this behavior? Hyperlink is the only way I have seen so far, but even as a group the assigned element it does not look or behave as desired).

Many thanks in advance, V.

12
Hi,

I refer to https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_languages/applyingastereotype.html

Via the properties changing the stereotypes for Elements works fine. The shapescript changes the appearance of the element (e.g., changing an application Interface into an infrastructure interface).

When I change a stereotype of a Relationship (e.g., an ArchiMate3::ArchiMate_Composition into an ArchiMate3::ArchiMate_Serving or the other way round), the appearance does not change correctly. While changing different parameters, most often the shapes of composition and serving overlap, but I never get the correct one. Is this intended or is there something to be considered?


13
Hi, this feature always worked in other setups, but for any reason I cannot set “Model Default Diagram” for everybody in the project in my current setup.

I followed the instructions in: https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_fundamentals/usr_model-default_diags.html.

My current setup is:
-   EA v16.1
-   MariaDB.
-   User Security is enabled in: Settings > Security > Administer > Enable Security.
-   Start > Collaborate > Model Home > Manage > Choose Default > …. I also tried Model Home > Set current as default.
-   I checked it with: Start > Collaborate > Open Model Diagram (which opens the correct diagram for me, but not for other users).

Suggestions are very welcome, V.

14
Hi, https://sparxsystems.com/enterprise_architect_user_guide/16.1/modeling_fundamentals/virtual_routing.html helps use to "represent one element several times on a diagram".

I have 5 classes: C1, C3, C4, and C5 are all connected to C2:

C1 - C2 - C3
      /     \
 C4       C5

Now, I would like to duplicate C2 and put it between C4 and C5:

C1 - C2 - C3
       
C4 - C2 - C5

So, I use Virtual Connector Ends for the relation between C2 and C5. This creates a duplicate of C2 and connects it to C5, but not to C4;

C1 - C2 - C3
      /   
 C4  C2 - C5

The issue now is: how can I connect also C4 to the duplicated C2? Is this possible at all? If not, why?

15
Hi, I have following questions regarding Time Aware Modeling:

  • Wouldn’t it be helpful also to support cloning of Relationships?
  • Does UML support relationships between (different) relationships? I saw some diagrams, maybe hand-made or with some other tool. SparxEA does not support this, as far as I tried this. Otherwise, a trace between relationships would be very helpful from my point of view.
  • Surprisingly I can draw a trace relationship from a relationship to itself in SparxEA. Is this intended?

Pages: [1] 2 3 ... 7