Choose your top Archicad wishes!

Read more
GDL
About building parametric objects with GDL.

Archicad 26 becomes very slow in the edition of gdl objects

lopezfigueroa
Enthusiast

It doesn't happen to them, that when they are editing objects in Archicad 26 it becomes very slow when you change parameter values or make changes between scripts

9 REPLIES 9
Barry Kelly
Moderator

It shouldn't.

What are your machine and operating system specifications?

 

Barry.

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Ryzen 2700x 64gb ram video 6gb 1660ti
currently the slowness is in the save.
Maybe it's due to some parameter, I'll check.

If the script is complicated especially regarding calculating parameters, then it might be slower in save, have in mind that if you have a lot of the just edited objects instances placed - they also will be calculated when the save occurs.

Lingwisyer
Guru

I find in my own objects, that if I have scripted multiple things incorrectly that result in error returns that do not brick the object, it is slower. Cleaning up said errors fixes any delays.

 

There is also the option to disable the preview from updating as you make changes to the objects parameters which might help.

 

Ling.

AC22-23 AUS 7000Help Those Help You - Add a Signature
Self-taught, bend it till it breaksCreating a Thread
Win11 | i9 10850K | 64GB | RX6600 Win10 | R5 2600 | 16GB | GTX1660
Peter Baksa
Graphisoft
Graphisoft

Anything written to the Session Report (errors, warnings, PRINT commands) is slow. Turn off warning messages in the Library Developer menu, and use GLOB_DIAGNOSTICS_MODE global variable for debug messages.

A script check is run with the default parameters before save, long loops or slow I/O can slow it down. Try to set a default parameter state which finishes quickly.

Placed objects (and the default one in the infobox) are refreshed after save. Complex 3D models can slow this down. Closing 3D, section, elevation windows, auto-updated drawings might help.

Péter Baksa
Software Engineer, Library as a Platform
Graphisoft SE, Budapest
Hmooslechner
Rockstar

When is script, i always use STRG*S after nearly each scriptline i write, because i want to see the reactions in the real 2D or 3D-Enviroment at prompt.  and then have to wait 8 to 12 seconds, till i can see it in 3D or 2D in the normal drawing Editor.

 

The built-in 2D-3D - peview in the GDL-Editor - i cant use with my many editable hotspots. What i recently discovered: When i unload all unnescesssary Library, its way faster on this. So now i just load the Library-things that i really need for developing my objects. 

 

This speed-lacks occured round about Version12 or so - before then- it was way faster.. 

 

 

AC5.5-AC27EduAut, PC-Win10, MacbookAirM1, MacbookM1Max, Win-I7+Nvidia

The 2D & 3D previews are typically useless as they lack not only testing for dynamic hotspots but the use of partial structure display options can’t be easily checked either. The previews are outdated and could do with an update to create a better development space and reflect general AC improvements.

Apple iMac Intel i9 / macOS Sonoma / AC27UKI (most recent builds.. if they work)
lopezfigueroa
Enthusiast

Thank you all for the options. I will follow your recommendations.

jc4d
Expert

Hello.

For the first time, I'm facing this problem. The script is just a duplicate array of a block, so nothing fancy. Eventhough I'm on archicad 25, not sure if I should open a new topic or post here my script.

 

Juan