Archi Forum

Discussion Boards => jArchi => Topic started by: serge on August 05, 2021, 14:44:40 PM

Title: Archi freeze issues
Post by: serge on August 05, 2021, 14:44:40 PM
Hi,
I used these examples provided by Jean-Baptiste to delete unused elements from a large model
   https://gist.github.com/jbsarrodie/aae4ed4981ada94834cfdf48d978a13f (https://gist.github.com/jbsarrodie/aae4ed4981ada94834cfdf48d978a13f)

Everything was fine with jArchi 0.8, but I have no more response from Archi application when I launch it with jArchi 1.1.0:
   20 elements are deleted over 2500, then the application freezes
Does anyone encountered such a problem ?

Regards
Serge



OS : Windows 10 Professionnel
Archi version : 4.8.1
jArchi version : 1.1.0.202101121529
Title: Re: Archi freeze issues
Post by: Phil Beauvoir on August 05, 2021, 15:01:37 PM
It's hard to say what the problem could be without knowing anything about the model. Perhaps you could add some console.log() messages to the scripts to determine if the scripts are successful and to monitor their progress. Also, you could set the option "Refresh UI When Running Script" on, see https://github.com/archimatetool/archi-scripting-plugin/wiki/Optimising-Your-Script-and-Runtime-Considerations
Title: Re: Archi freeze issues
Post by: serge on August 06, 2021, 13:34:11 PM
Many thanks Phil, everything seems OK after setting option "Refresh UI When Running Script".
The model is huge (> 15000 concepts) because aggregated from different repos.
Serge