We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2020-08-25 03:05 AM - last edited on 2022-09-26 10:46 PM by Daniel Kassai
Solved! Go to Solution.
2020-08-26 12:41 AM
n = APPLICATION_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", _isFirstRun)
2020-08-25 03:22 AM
if reset_defaults_swch = 1 then DIM ac_coords[7][2] ac_coords[1][1] = 0.000 ac_coords[1][2] = 0.000 ac_coords[2][1] = 0.000 ac_coords[2][2] = 1.000 ac_coords[3][1] = -1.000 ac_coords[3][2] = 1.000 ac_coords[4][1] = -1.000 ac_coords[4][2] = 0.000 ac_coords[5][1] = 0.000 ac_coords[5][2] = 0.500 ac_coords[6][1] = -0.500 ac_coords[6][2] = 1.000 ac_coords[7][1] = -1.000 ac_coords[7][2] = 0.500 parameters ac_coords = ac_coords reset_defaults_swch = 0 parameters reset_defaults_swch = reset_defaults_swch endif
2020-08-25 03:33 AM
dim _arrayName[][] for i = 1 to vardim1(arrayName) for j = 1 to vardim2(arrayName) _arrayNameThis will populate every single cell of the array with the value "Test". if this doesn't work for you then there must be another script overwriting this script. Once you get this to work then you can focusing just on a specific cell but you should keep the loop statements so that both the the temporary and parameter arrays are the same size (vardim1 and vardim2).= "Test" next j next i arrayName = _arrayName parameters arrayName = arrayName
2020-08-26 12:41 AM
n = APPLICATION_QUERY ("PARAMETER_SCRIPT", "FIRSTOCCASION_IN_PROGRESS", _isFirstRun)
2020-08-26 03:05 AM
2020-08-26 11:04 AM
2020-08-28 08:50 PM