The Global ARCHICAD Community

Stay informed. Get help. Share your knowledge.

GDL language and objects, API, Add-ons, Script…

Moderators: Barry Kelly, Karl Ottenstein, LaszloNagy, ejrolon, gkmethy

What's your opinion about this wish?

Essential (5)
2
67%
Important (4)
1
33%
Average (3)
No votes
0%
Not important (2)
No votes
0%
Not needed (1)
No votes
0%
#268269
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.