Recent Posts

Pages: 1 2 3 [4] 5 6 ... 10
31
Hi OJB,

I guess that the new snapshot feature might cause the delay. The feature saves diagram image for every saving attempt. If you enable the automatic snapshot creation feature, EA will save the image to the project. Even if not, EA generates the image of the diagram (and stores it in the memory) so it might take some time to create the image.

HTH,
32
Automation Interface, Add-Ins and Tools / Re: Move multiple items into current package
« Last post by Elpis on September 03, 2025, 02:12:01 am »
I uploaded the Addin to GitHub:
https://github.com/shimonj/ModelAddinStarter

Error 404. Is the URL correct? Have you exposed the project to a public?
33
Automation Interface, Add-Ins and Tools / SaveDiagram performance V17.1 compared to V16.1
« Last post by OJB on September 02, 2025, 11:52:39 pm »
Hi There  :)

I'm new to this forum and asking for help. I used the great content here in the past "passively" to learn Sparx EA automation.
Over time I created an extensive JavaScript library mainly focussing on diagram generation automation. I tried to achieve near-real-time response times and encountered a problem while testing V17.1 64 bit (currently using V16.1 32 bit) - with qea/SQLite databases

I have to start many automations by saving the current diagram (Repository.SaveDiagram()) to not lose user changes. With version V16 this takes about 0,1s for standard diagrams - with version V17 it is 0,8-1s (even for completely unchanged diagrams) which is a huge impact when mostly save and reload are the time consuming actions and many automations finish (in V16) in a total time below 0,3-0,5s with complex automations. So the save action is 8-10 worse in V17 compared to V16

I created a small script to measure the performance and I hope you could help verifying this behaviour or find a solution.
If you have the same experience would you see this as a bug?

Best regards, Oliver

the test script (for the Script Diagram Group) I used for the tests ...

Code: [Select]
Repository.EnsureOutputVisible("Script")
var curDG = Repository.GetCurrentDiagram()
if (curDG != null){
var start = new Date().getTime()
Repository.SaveDiagram(curDG.DiagramID)
var stop = new Date().getTime()
Repository.WriteOutput("Script", "Time: " + (stop - start) + " ms", 0)
}
34
- Save the connection as a shortcut with .qea  extension
Pretty sure that that's the issue. The save as shortcut should only allow .eap.
35
PCS General Board / Re: WAIT_TIMEOUT for multiple operations / login to PCS
« Last post by Guillaume on September 01, 2025, 06:26:12 pm »
I remember having a similar issue in the past but I can't remember how it's been sorted out.
What PCS build are you using ? If you use a SQL Server db, have you tried configuring the PCS with different options: ODBC DSN vs Native Connection, OLE DB ?
36
In version 17.1.1713, when you open a shortcut file with extension .qea, it does not get registered in the Recent files section.
After changing the extension to .eap it worked as expected.

Steps to Reproduce
- Connect to a SQL Server database model
- Save the connection as a shortcut with .qea  extension
- clear the recent files section
- use Open File to open the shortcut file
- notice that the Recent files section remains empty
- change extension to .eap
- open the .eap shortcut file
- notice that the Recent Files section now mentions the model opened using the .eap shortcut file.

Reported

Geert
37
General Board / Re: How to use Relationship matrix in RTF template
« Last post by Guillaume on September 01, 2025, 05:14:31 pm »
Thank you both your valuable feedback  :)

I managed to generate an image having the matrix profile configured with the selected package. I agree it's not practical but at least it's useful to understand how it works.
Geert, have you got by any chance an example of a fragment to try out ?



38
Bugs and Issues / Re: Cropped diagram images in the RTF
« Last post by Sunshine on August 30, 2025, 04:47:10 am »
Its been a while since I've had to deal with that issue, however if memory serves, I used to get around this issue by creating a table and putting the image in a table cell fixing the height or width. You can make the hide the border of the table so you don't notice it.
39
General Board / Re: How to use Relationship matrix in RTF template
« Last post by Geert Bellekens on August 30, 2025, 03:16:44 am »
The feature is useless in all bu the most trivial models anyway.

I always add an SQL fragment showing the same information in a table format.
Having a variable number of columns (like in a matrix) is not very practical when generating documents (as they tend to quickly become too wide)

Geert
40
General Board / Re: How to use Relationship matrix in RTF template
« Last post by philchudley on August 30, 2025, 01:35:55 am »
Not good news I am afraid :(

This confirms what I have experienced, taken from the EA User Guide

If you have set up matrix profiles directly within the Relationship Matrix, you do not directly specify a matrix profile in the report; the Document Generator returns the Relationship Matrix for all profiles that include the documented Package as the source or target Package.

IMHO including ALL profiles where the package is either a source and/or a target makes this option not practical.

Phil
Pages: 1 2 3 [4] 5 6 ... 10