cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
GDL
About building parametric objects with GDL.
SOLVED!

Scheduling REQUEST Data

scottjm
Advisor

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

Accepted Solutions
Solution
Jochen 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.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de

View solution in original post

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
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), 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
Jochen 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.

Jochen Suehlo . AC12-27 . MAC OSX 14.4 . WIN11
GDL object creation: b-prisma.de
scottjm
Advisor

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