How do you use and array as an argument for the different shape functions?
A simple example:
! DO THIS:
! INSTEAD OF THIS:
The array in question is comming from a C++ Addon and is arbitrarily large so i cannot "spell" out the arguments when calling the GDL functions. Or is there some kind of workaround?
I'm reading the GDL reference guide but haven't found an example of this yet: https://gdl.Graphisoft.com/reference-guide
Go to Solution.
I just found something called The parameter buffer which looks like it does what i want: https://gdl.Graphisoft.com/reference-guide/parameter-buffer-manipulation
I think you are looking for the Parameter Buffer:https://gdl.Graphisoft.com/reference-guide/parameter-buffer-manipulationThere are examples for use at the bottom of the page.The main idea is, that one uses `put` to store values on the buffer and `use` or `get` to retrieve them again. It's a data structure with FIFO principle.Best, Bernd
This can be written in a for loop as well based on points to simplify or shorten the amount of code.