Author Topic: Archi freeze issues  (Read 179 times)

serge

  • Newbie
  • *
  • Posts: 2
Archi freeze issues
« on: August 05, 2021, 15: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

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

Phil Beauvoir

  • Administrator
  • Hero Member
  • *****
  • Posts: 1639
  • Code Punk
    • Archi
Re: Archi freeze issues
« Reply #1 on: August 05, 2021, 16: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
If you value and use Archi please consider making a donation! https://www.archimatetool.com/donate

serge

  • Newbie
  • *
  • Posts: 2
Re: Archi freeze issues
« Reply #2 on: August 06, 2021, 14: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
« Last Edit: August 06, 2021, 14:36:55 PM by serge »