2022-12-16 07:13 AM
Hello. With everyone's help, I got some results I wanted.
But I want to put something more.
I added a function to remove the air layer by itself, but the air layer is still in the order of the layers.
when I want to put in additional functions, it's interfering.
for example,
Even on the right, the air layer is still got 4th order of array.
when i want to put some option of additional user text, it's hard to put right position.
Can I override the order of the arrays? Like this pic below.
My guess is that I should use "Call", but I wonder if my direction is right.
thank you for your kindness
Solved! Go to Solution.
2022-12-16 09:24 PM - last edited on 2022-12-20 07:27 AM by Barry Kelly
I think, you have to create a temp-array, where you store the new values, and after this simply write
old_array = temp_array.
Here you can find an example, how to delete values from an array:
https://runxel.xyz/archicad-wiki/gdl/
Link amended - Barry
2022-12-16 09:24 PM - last edited on 2022-12-20 07:27 AM by Barry Kelly
I think, you have to create a temp-array, where you store the new values, and after this simply write
old_array = temp_array.
Here you can find an example, how to delete values from an array:
https://runxel.xyz/archicad-wiki/gdl/
Link amended - Barry
2022-12-19 01:13 AM
The link doesn't open, but thank you very much for your help
2022-12-19 02:03 AM
Just follow the menus to the relevant page. It is odd that the links to his page always seem to get lost, even though they have the correct address...
AC22-23 AUS 7000 | Help Those Help You - Add a Signature |
Self-taught, bend it till it breaks | Creating a Thread |
Win11 | i9 10850K | 64GB | RX6600 | Win10 | R5 2600 | 16GB | GTX1660 |
2022-12-20 01:35 AM - edited 2022-12-20 01:37 AM
Well, the link is "wrong". If one writes it with a lowercase "A" everything works.
EDIT: HUH?! That is weird! GS, your forum software sucks!
The posted link will get altered and the lowercase "a" becomes an "A". That's mad! WHY?
The trick is basically to write every item of the original array to a temp array – except the one you want to delete – and then write it back to the original array.
2022-12-20 07:29 AM
@runxel wrote:
Well, the link is "wrong". If one writes it with a lowercase "A" everything works.
EDIT: HUH?! That is weird! GS, your forum software sucks!
The posted link will get altered and the lowercase "a" becomes an "A". That's mad! WHY?
That is weird. 🤔
I have amended the link so it now works.
Barry.