Wishes
Post your wishes about Graphisoft products: Archicad, BIMx, BIMcloud, and DDScad.

Global variable to store index of last edited field of array

Sam Karli
Enthusiast
When editing parameters, GLOB_MODPAR_NAME stores the name of the last parameter. It's convenient for only the standalone parameters.

Many times when an array-type parameter's field is modified it's not enough to know that the array is modified (since arrays are here to store loads of data) but I would need a row/column data to get the value modified and work with it.

In theory it's possible to store a copy of the array and compare the two against each other but it's a time-consuming nightmare.

So besides a GLOB_MODPAR_NAME there should be a GLOB_MODROW and a GLOB_MODCOLUMN, too, and they should return the modified row/column indexes, respectively, or a 0 if the parameters was a single one or for the second, a one-dimension array.
GDL/Python/C++ dev
0 REPLIES 0