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

Pages: [1] 2 3 4
1
General Board / Re: Posting UML/SysML Diagrams to this Forum
« on: July 18, 2025, 04:48:49 am »
[...] wouldn't it be powerful to have a super-lite diagram editor built into this forum [...].
There is a *model* behind any diagram. Primarily, a model would have to be embedded into the post, to make it editable.

Quote
So many topics include lengthy worded descriptions of even simple concepts like Class inheritance structures and inevitably end up relying on ASCII character representations of diagrams. .
There are already alternatives worth considering:
- XMI/native XML/others files exported from EA - may be 'restored' to individual EA;
- model specified in textual PlantUML - online tool https://www.plantuml.com/ may be used to quickly build sample diagram, if graphical visualization is desired (but not critical nor EA's specific).

2
Automation Interface, Add-Ins and Tools / Re: Session.Prompt Dialog
« on: June 26, 2025, 09:07:50 pm »
I am playing around with Model based add-ins using EA version 16.11.1627 64bit
Just, for the moment a simple menu to display an About box. The About box is displayed using Session.Prompt
This works fine, except that EA appears to hang with OK is clicked with the "blue circle of death" and will eventually (after about 45 secs to 1 minute) close the dialog.

Try to upgrade to EA 17.0. Handling of Session.Prompt popup windows is better there.
In EA 16 I had experienced many issues with the window, including it being often hidden below main EA window, but modal, which rendered EA itself as "not responding" (until script engine timeout).
In EA 17 the addin 'Prompt' window is visible in Windows Task bar, so can be re-shown (brought to top) easylly.

3
I'm running a file repository (.eap) for my experimentation.
[...]
But the SQL interpreter objects to the square brackets.

As we live in 2025 now, I would avoid using ancient .eap (MS Jet aka Access) format for any purpose. There are so many better alternatives out there (e.g. .qea), with more 'standard' SQL syntax.

4
I post very same issue to Sparx more than year ago (PCS 5.1.128 64bit). Unfortunatelly, they were not able to reproduce it.
My observation is, all of mentioned warnings are preceding establishing database connection (PCS manages pool of open connections, I presume), like below:
2024-01-15 14:21:19 [SYSTEM]:   MANAGEMENT:  Removed 1 database connections to ssdb:ea_repo@localhost@ea_repo
2024-01-15 14:23:15 [WARNING]: Failed to set Database Driver folder for PostgreSQL
2024-01-15 14:23:15 [SYSTEM]:  Thread 9883  SUCCESS Opened new database connection to ssdb:ea_repo@localhost@ea_repo

Sometimes the warning is absent for a long time (usually after PCS restart), then starts to appear very often (on every re-opening of database connection).
We use native connection to the PostgreSQL database and PCS is installed on C: drive.

5
General Board / Re: Authors and contributors
« on: April 11, 2025, 07:12:32 pm »
[...] Is there any elegant way, other than manually entered test, of adding to a diagram a list of contributors based on the list of project authors or resources under Settings/Reference Data/Model Types/People in v16.1?
I believe in v17 this was moved to a different ribbon tab.

I'm not sure, what you mean by "manually entered *test*", but ...
Model View element (with suitable SQL query) might be useful for listing project authors on a diagram.
https://sparxsystems.com/enterprise_architect_user_guide/16.1/model_publishing/define_a_model_view_chart.html

6
[...]  This all suggests to me that the Sparx UI must normally be responsible for arranging the results into the correct hierarchy for display, [...].

AFAIK EA applies it's own ordering of items in Browser, despite result of query against repository database. For particular package content, the ordering is based on t_object.tpos and than on item name (lexical order). And depending on user settings, general kind of item - diagram, element, package - may be set as primary ordering rule ('on-top' of those mentioned earlier).

7
"virtualized connector end" is a poor substitute/way-around for ability of placing the same element few times on a diagram in different positions (usualy to avoid cluttering crossing connectors). And as it is named, it is only an another presentation of 'connector end' - not element at the end.
Of course it would be nice to have ability to differentiate visualization of the connected element at VCE, but to what extend? At the extreme one may want to set it's presentation completely differently from 'primary' element presentation - changing not only general notation (custom, rectangle, icon) but also setting compartments and attributes/operation visibility, colors, etc.. Quite different 'world' opens up... Seems, Sparx decided to stick to much simpler approach. Not so much capable, but better than nothing.

8
Automation Interface, Add-Ins and Tools / Re: Get WebEA link via API
« on: March 05, 2025, 12:43:23 am »
Thanks.
Correct query is:
select * from usys_system where property = 'WebEaUrl'
(property name case)
And a related property is WebEaIndex (WebEA model number).

9
Automation Interface, Add-Ins and Tools / Re: Custom Metamodel Diagram View
« on: February 28, 2025, 12:20:42 am »
currentElement = Repository.GetTreeSelectedObject()
Session.Output("Selected ElementID: "+currentElement.ElementID)
->Selected ElementID: 12

But this does not work for diagrams I select in the browser tree.

And I can not find the diagram ID. Only the GUID but this is the wrong one.

If you are referring to *diagram* selected in the Browser, this works in Javascript console:
currentDiagram = Repository.GetTreeSelectedObject()
? currentDiagram.DiagramID +"; "+currentDiagram.MetaType +"; "+ currentDiagram.Name



10
Bugs and Issues / Re: Enterprise Architect Database SQL Issue
« on: February 27, 2025, 11:59:35 pm »
we plan to switch from SVN Version control to a Enterprise Architect Database.
I'm not sure what do you mean by that 'switch', as "SVN" and "EA Database" are beings from different categories. They may be combined into a one solution, but they are not substitutable each by other.

I guess, you want to switch from one EA repository _RDBMS_ into another. From what to what? Is "Microsoft SQL Database" an "MS Jet" aka Access database (*.eap file)? Is it the source 'format' you want to switch from or is it a target (to-be)?

11
Automation Interface, Add-Ins and Tools / Get WebEA link via API
« on: January 30, 2025, 09:58:23 pm »
Is it possible to get WebEA URL for element/diagram/package through API?
Or to get key cloud project parameters to construct such an URL (site address, model number - as set on Cloud settings page in EA)?

12
As EA refers to "UML rules" in the error message, question arise: What UML (meta)class is a Boundary (or Note) element instance of (according to EA - AFAIK none of this is UML concepts)?

13
Setting the multiplicity to 0..0 (or just 0) is IMHO formally (UML Generalization semantics) correct approach.

14
General Board / Re: Error message during Import - Native XML
« on: October 11, 2024, 10:43:34 pm »
For SQL Server there is an optional schema update scrip to be downloaded that should solve this. [...] https://sparxsystems.com/downloads/corp/scripts/EASchema_1558_SQLServer.sql
This is the basic structure script URL, I guess. For optional schema update, it is https://sparxsystems.com/downloads/corp/scripts/EASchema_1558_SQLServer_Update1.sql (see https://sparxsystems.com/resources/repositories/ section "Microsoft SQL Server" for related info).

15
Thanks Geert. The dialog window with question "Are you you want to delete the currently selected item?" (context menu is invoked on a list element referring alternate scenario...) and subsequent disappearing of alternate scenario from the list, misleaded me. The scenario remains in owning UC, indeed. Need to treat "Entry points" list's title literally ("entry point" vs "entered scenario (aka Path)").

Pages: [1] 2 3 4