We value your input! Please participate in Archicad 28 Home Screen and Tooltips/Quick Tutorials survey
2022-03-04 08:06 AM - edited 2022-03-04 09:47 AM
Hi,
I am attempting to manipulate some data from a Request and then display the result in a schedule.
However the request data is disappearing when it is displayed in the schedule.
Is anyone able to point me in the right direction?
See below my pseudo code and a screen shot:
n = REQUEST ("Name_of_material", 2, name)
TEXT2 0,1,name
trim = ">"+STRSUB(name,1,5) + "<"
TEXT2 0,0,trim
PARAMETERS out = trim
Many Thanks,
Scott
Solved! Go to Solution.
2022-03-04 01:53 PM
Most Requests like this one do not work in Parameter-Script or Master-Script executed as Master-Script anymore, see GDL Manual (this is not working since AC 20).
The 2D-Text works, but the Parameter does not show the correct result.
2022-03-04 08:15 AM
In your script try ...
out = trim
PARAMETERS out = out
Barry
2022-03-04 08:35 AM
Thanks for the quick response @Barry, didn't work unfortunately. 🙁
2022-03-04 01:53 PM
Most Requests like this one do not work in Parameter-Script or Master-Script executed as Master-Script anymore, see GDL Manual (this is not working since AC 20).
The 2D-Text works, but the Parameter does not show the correct result.
2022-03-07 01:50 AM
Thanks Joachim. I had read that in the manual but didn't fully comprehend what it meant.
It always seems to be the way that GDL throws up an impenetrable obstacle at the last hurdle. 😥