Search the Knowledge Base Report a bug
Post new topic   Reply to topic   printer-friendly view   .    ArchiCAD-Talk Forum Index >>> Open ARCHICAD Wishes >>> Global variable to store index of last edited field of array
View previous topic :: View next topic

What's your opinion about this wish?
Essential (5)
50%
 50%  [ 1 ]
Important (4)
50%
 50%  [ 1 ]
Average (3)
0%
 0%  [ 0 ]
Not important (2)
0%
 0%  [ 0 ]
Not needed (1)
0%
 0%  [ 0 ]
Average: 4.50 points
Total Votes : 2

Author Message
Sam Karli
Junior member
Junior member

Joined: 05 Apr 2006
Posts: 83
Location: Budapest

PostPosted: Sat Jun 17, 2017 11:37 am    Post subject: Global variable to store index of last edited field of array Reply with quote

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.

_________________
ArchiCAD 2016 SE
Back to top
View user's profile Send private message   Facebook ID (Not full URL, just ID!) LinkedIn Profile Link (Full URL, please)
Display posts from previous:   
View previous topic :: View next topic
Post new topic   Reply to topic   printer-friendly view       ArchiCAD-Talk Forum Index >>> Open ARCHICAD Wishes >>> Global variable to store index of last edited field of array All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB 2001, 2005 phpBB Group
Copyright 2012 - Graphisoft SE. All rights reserved worldwide. Terms of Use | Privacy Policy