GDL
About building parametric objects with GDL.

GDL object access parameters from addon

Anonymous
Not applicable
Currently I have developed a GDL object and an addon and want to know if its possible to share parameters set in the addon, to the GDL object. Is it possible to do this via GLOBAL parameters, Elements or even text files. Please let me know if this is possible?
2 REPLIES 2
Ralph Wessel
Mentor
Johnny wrote:
Currently I have developed a GDL object and an addon and want to know if its possible to share parameters set in the addon, to the GDL object. Is it possible to do this via GLOBAL parameters, Elements or even text files. Please let me know if this is possible?
There is no supported way to do this. There are possible work-arounds – as you noted – but they aren't entirely reliable. I strongly advise against using GDL globals as a communication mechanism, even between objects.
Ralph Wessel BArch
Laszlo Nagy
Community Admin
Community Admin
In the past I have written GDL that used Text Files for storing data.
GDL Objects wrote data to and read data from these text files. It worked well for me.
Loving Archicad since 1995 - Find Archicad Tips at x.com/laszlonagy
AMD Ryzen9 5900X CPU, 64 GB RAM 3600 MHz, Nvidia GTX 1060 6GB, 500 GB NVMe SSD
2x28" (2560x1440), Windows 10 PRO ENG, Ac20-Ac27

Didn't find the answer?

Check other topics in this Forum

Back to Forum

Read the latest accepted solutions!

Accepted Solutions

Start a new conversation!