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

Pages: [1]
1
General Board / Re: ShapeScript Image from TaggedValue, Possible ?
« on: January 06, 2024, 08:12:46 pm »
Thank you very much for your feedback

2
General Board / ShapeScript Image from TaggedValue, Possible ?
« on: January 05, 2024, 10:00:30 pm »
Hello,

Do you think it is possible to display an image depending on a tagged value without if/else testing ?
Here is what I test in a ShapeScript but it does not works.
Code: [Select]
image("#TAG:MyTaggedValue#", 0, 0, 100, 100);
The element has a TaggedValue named "MyTaggedValue" that contains a string that corresponds to the name of an image loaded into the image library.
But the image is not displayed.
Does someone have an idea why ?
It looks like if the macro is not resolved into the image function.

3
Bugs and Issues / Re: Problems using ADODB.Stream in JavaScript
« on: January 04, 2024, 02:55:31 am »
The post is old so I think the answer is no longer expected but if anyone goes through it there will be the answer.
I came across the same thing.
The issue is that the LoadFromFile is not an attribut but a function.

Here is the correction:
Code: [Select]
var fileName;
var file;
fileName = "c:/temp/storutftestfil.csv";
var stream = new COMObject("ADODB.Stream");
stream.Type = 2 // text data (as apposed to binary data)
stream.Charset = "utf-8";
stream.LineSeparator = -1; // carriage return line feed
stream.Open();
stream.LoadFromFile(fileName);
file = stream.ReadText();
Session.Output("Stream : " + stream.Size);
Session.Output("Line : " + file);
stream.Close();

4
General Board / Is it possible to embed external web page into EA diagram
« on: January 02, 2024, 09:59:16 pm »
Hello,

I would like to know if it could be possible to embed an external web page into an EA diagram ?
I have some diagrams done using IcePanel and I would like to embed it into some EA diagram for documentation purpose.
Furthermore, I could export some picture, but I would prefer to embed the dynamic page to keep synchronized.

Thanks for your help.


5
General Board / Re: Best practice of extending a modeling language
« on: January 02, 2024, 09:53:26 pm »
Hello,

I am not an expert and I found your question really relevant.
I would also be interested to have some expert point of view on that topic.
In between I have found some interesting thoughts into the EA COMPENDIUM first chapter "Why modelling, and why with EA ?".
https://sparxsystems.com/resources/booklets/ebook_list.html
Perhaps it could help your thought too.

6

Hello,

I try to extend the model with a custom profile.
I would like to create a new "ArchiMate3::ArchiMate_BusinessRole"
In the profile diagram of my MDG I link my new Stereotype (named "MyRole") to a Metaclass Stereotype "ArchiMate3::ArchiMate_BusinessRole" using the "Generalize" Link.

All seems to be great.
But we in the model, when I try to quick link a "MyRole" to a "ArchiMate3::ArchiMate_BusinessActor" AE refuse the link.
I was wondering that it will show me the same possible links than with a  "ArchiMate3::ArchiMate_BusinessRole", like "Assignment".

Do you have some ideas of what could go wrong ?

Best Regards,
Damien

7
You are right, I can manually search the relationship with the trace tool, but it is practically unusable on a real model with hundreds of relationships.
For me, one of the basic functions of the modeling tool is to help me find such a "hidden" relationship and show it in the appropriate diagram.

I discover a very surprising things.

EA does not know that A1 communicates with C2 through its internal component C1.
Ok that's the main issue.

But :
1 - If I add a Port to A1
2 - Select A1
3 - In the relationship area, left-click "Expand to Children"
4 - The relation from Port to C2 appears, it raise me a hope. But not the relation from C1 to C2  :-[


And unfortunately, in the application level diagram, even if I can see the port, it is not possible to show the "internal" relationship from C1 to C2 if those elements are not put on the diagram.



8
Uml Process / Re: Inherited associations
« on: December 23, 2023, 08:07:27 am »
I was searching the forum for answers to my questions, and I came across this topic.
Is it still the case in the 16.1 version of EA ?
Is it still not possible to have access to inherited relationships across the composition/aggregation of elements ?
I think I have posted a similar kind of question https://sparxsystems.com/forums/smf/index.php/topic,48189.0.html

9
Hello,
I am a relative beginner in EA modeling.
I come from IcePanel online C4 modeling tools, and I would like to "migrate" to a more powerful tool like EA.
So I actually tried EA, and I did not find how to do something very common in IcePanel:
My question is: How to display in a "Application level" diagram relations that have been defined at the "component level" ?

More precisely, here is my model:
- An application, A1, is composed of a component, C1
- Another application, A2, is composed of another component, C2

Here is how it looks like in IcePanel "Project Browser":


C1 and C2 are linked by a communication relationship. In my case, Cx components are Nuget packages, and they communicate together using a REST API.

In IcePanel I am used to creat that relationship from C1 -> C2 in a component level diagram.

Here is how it looks like in IcePanel "Component level" diagram:


When I model at application level diagram, If I create a link from A1 -> A2.
It ask me If I want to reuse the underlying existing relationship between the applications.

Then:


It is an extremely powerful operation, and I have not yet found out how to mimic it with EA.
I am sure it could be possible, but I do not know how.

Here is what I have tested. Here is a simple Project Browser


Here is the class diagram with the composition


Here is the communication diagram at component object level :


And after that nothing change at upper object level :A1 and :A2.
Neither in the Quick Link tool

Nor in the relationship tab of the element:


Could someone have any tips for me ?

Thanks for your help,
Damien

Pages: [1]