Showing results for 
Search instead for 
Did you mean: 
Showing results for 
Search instead for 
Did you mean: 
Design forum

BUG: Application query prevents Updating of array parameters

Nader Belal
Hi everyone,

In this thread I have discovered that you apply an "APPLICATION_QUERY" for updating an array parameter (to eliminate an index item) using this code:

The arrays will not update, and thus, the values stored in the original array will always stay, even when you follow the standard indications of Dynamic Array object.
A good friend of mine have once told me that I´m so brute that I´m capable of creating a GDL script capable of creating GDLs.

How I understand this command - when you open object settings, ArchiCAD reads all relevant scripts. First Master script, then 2D or 3D script, then parameter script and UI script.
When you change a value of any parameter or press the button in UI, ArchiCAD reads Parameter script second time.
This request tells you - is it the first run of Parameter script or not. I'm not sure how it can prevent updating anything, only if you use variable _isFirstRun in some conditions.

Didn't find the answer? Start a new discussion

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!