GDL
About building parametric objects with GDL.

Scheduling REQUEST Data

scottjm
Expert

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

 

scottjm_0-1646377497127.png

 

Many Thanks,

Scott

 

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe
1 ACCEPTED SOLUTION
4 REPLIES 4
Barry Kelly
Moderator

In your script try ...

 

out = trim

PARAMETERS out = out

 

Barry

One of the forum moderators.
Versions 6.5 to 27
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11

Thanks for the quick response @Barry, didn't work unfortunately. 🙁

 

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe
Solution
Joachim Suehlo
Advisor

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.

Joachim Suehlo . AC12-27 . MAC OSX 13.5 . WIN11
GDL object creation: b-prisma.de
scottjm
Expert

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. 😥

Scott J. Moore | Fulton Trotter Architects | BIM Manager, Associate, Architect
Since AC13 | Current versions AC23.7000 & AC26.5002 | BIMCloud Basic | Python, GDL, VBA, PHP, SQL, CSS
Certified Graphisoft BIM Manger (2022)
Win 10, i9-9900K, 32GB, Quadro P2200, 500GB NVMe

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!