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

Pages: [1] 2 3 ... 5
1
Hi,

I need to run some process simulations where an activity or tasks needs to re-use data produced by one of the previous tasks.  In the model, it would be shown as Data Object (it is non-persistent, instance scoped value).  How can we do that ?  Specifically - the previous tasks provides a date, as an output, and then it should be used as an input to some calculations that need to be simulated.

Any ideas ?

Best regards
Marcin

2
Hi,

Is anyone aware if Design Patterns are scriptable ?  In other words - I can programmatically created packages, add diagrams, and add elements to those diagrams.  But can I add defined pattern(s) to diagrams ?

Best regards
Marcin

3
Just to get the meaning of terminology here before I comment any further. In terms of how a repository is organised, what determines if an element is in the pattern? Perhaps, belonging to
Patterns as "Design Patterns".
As a short explanation - using option "Merge" does the job as it should when using patterns.  Except ... if there is a Port element embedded in the Node, whereas "Merge" is no longer available.  If it was ... it would be a solution to my case.  As would be if the pattern could remember default element to Merge with.

4
Thank you Marcin, is the following a fair summary of your use case?

"You are doing some discovery/documenting work and you want to use what you discover as a template, please note the emphasis, to more efficiently create additional content as you discover more about the topology of the network."
In generic terms - it could be acceptable, but in reality this is about modelling, not discovery/documentation.

Conceptually, we have a similar use case and I have had it possibly for as long as I have used Sparx EA. Essentially, I don't think Sparx EA has an elegant way of easily use existing content as a template to create additional content with a similar or identical structure, and combine it with other features such as Time Aware Modelling (TMA).
If only creating Patterns could optionally include retaining relationships to elements not being part of the pattern ... but it cannot have such option, as consistency when re-using patterns in other repositories would be affected.
Hence, my only hope was cloning full structure for duplication.

But knowledge is not gained/documented linearly, we don't get and document all knowledge about an existing architecture - e.g., a network topology - and, then, design a new network. I would argue that both activities happen in parallel and don't see a way of cleanly work in parallel with Sparx EA combining both approaches.
I understand and agree with you about architecture development (lifecycle).  We have a special case here :-).

5
What is your use case?

I am asking the question because we are using time aware modelling (TAM) to clone elements for 2 use cases that do not fit nicely with how I think TAM should be used.
I provide an example in the original post.  Imagine that you design a network where multiple elements exchange information.  Topology will be somewhat a snowflake - so ... you will have a hub and spokes, and then one of the spokes will lead to another hub with its own spokes.  Now, there is no a priori knowledge of how many spokes (or children, if we use this reference) will a hub (parent) have.  There is also a possibility that relationship is between hub and a nested element of a spoke.  Easiest to model would be a pattern of one hub, one spoke (with nested elements), and then clone multiple spokes (children) as many times as needed because they will have the same communication characteristics with hub.
That's the simplest, but of course it might be that we have special spokes that are somehow related to hub and to nested elements of their own.

For now ... I simply use a pattern, then manually recreate relationships - which is a bit faster than cloning full structure for duplication, finding one of the nested elements, and creating relationship between it and the hub.

Best regards
Marcin

6
When you use the term "cloning", do you mean time aware modelling - i.e., Clone Structure as New Version?
No, Time Aware Modelling is a different beast and serves different purpose.  I am familiar with how it works, but that is not my use case.


I agree with your comment about having a "Clone Full Structure for Duplication" option.
Thanks.

7
Perhaps Sparx could listen and consider that there is existing functionality "Copy Full Structure for Duplication" which retains relationships between copied elements.  Now, it would be nice to add an option to retain relationships which the copied element has with existing elements (not being copied).

Best regards
Marcin

8
Hello,

has anyone yet resolved / scripted a case where cloning existing element structure would retain relationships to elements not being cloned ?
Example :  a Node element (lets call it a Platform), containing nested Nodes, one of them having a relationship with another Node (lets call it Control) outside of this Platform node.  Now, I need to clone Platform node (including substructure) in such way that its internal Node each retains relationship to existing Control node.

Best regards
Marcin

9
General Board / Re: EA17 - mutiple stereotypes in data model
« on: April 03, 2025, 08:54:54 pm »
Thank you Geert :-)

10
General Board / EA17 - mutiple stereotypes in data model
« on: April 03, 2025, 07:56:58 pm »
Hi,

would you happen to know where in the underlying data model I can find multiple stereotypes for an element (if assigned) ?  More specifically, it applies to ArchiMate elements that have additional stereotypes defined.

Best regards
Marcin

11
Hello,

when creating a a report that contains two query levels, joined by a condition - the report gets a type of Query, not of Designer.  That means - it cannot be used to create custom Connector properties.  it looks like the same applies even if the Query is just a single query.
Would you happen to have any idea how to overcome this ?  An example : I need a list of ports (including their ea_guid's)  that are associated with nodes.

Using ProLaborate 5.2.0.70

Best regards
Marcin

12
Never mind ... it looks like some scripting experiment went awry :-(.  The functionality works fine.

13
Hi,

when we installed new version (17) - the traceability window would show replaces (or replaced by) for those elements that have been cloned into new versions.  However, that stopped appearing and now the only way to find that is by using TAM window.  That's a bit annoying - does anyone know how to get this information to show again in the Traceability window ?

And perhaps into Inspector, if it has ever been there ?

Best regards
Marcin

14
PCS General Board / Re: Custom attributes in ProLaborate
« on: March 21, 2025, 12:13:45 am »
Just in case anyone struggles with that - the char data type for an attribute is not recognized.  It needs to be String to be editable. 

Thank you Geert for pointing me out to MDG ....

15
PCS General Board / Re: Custom attributes in ProLaborate
« on: March 20, 2025, 02:22:02 am »
Thank you Geert, I did not know that MDG has to be imported also into ProLaborate.  Now the funny thing happens - enum based attributes are editable and show drop downs.  Text attributes are not editable, despite having been configured as editable in the MDG's profile for specific stereotype.

Thank you for pointing me into right direction.  Appreciate any further suggestions.

Best regards
Marcin

Pages: [1] 2 3 ... 5