BIM Coordinator Program (INT) April 22, 2024
Find the next step in your career as a Graphisoft Certified BIM Coordinator!
Libraries & objects
About Archicad and BIMcloud libraries, their management and migration, objects and other library parts, etc.

How write results of the REQUEST ("TEXTBLOCK_INFO",... into parameter

Anonymous
Not applicable
Hi.
I need to write the height of the text block to the parameter par_h.
But the REQUEST ("TEXTBLOCK_INFO", ... only works in a 2D script, where not work PARAMETER par_h=height.
I can use PARAMETER par_h=height in parameter script.
But in parameter script REQUEST("TEXTBLOCK_INFO",... not work.
Please help, how should I be?
2 REPLIES 2
Barry Kelly
Moderator
As you have discovered this can not be done.
But why do you need to save this value as a parameter?

If you need it as a parameter, then just create one and allow the user to change is as required - no need to request the height in the 2D then as the user is setting the height.

If you need to request the height in the 2D (because you can stretch the width of the text block therefore changing the height), then you can do the request and use that value - but then there is no need for a parameter as it is only used in the 2D script anyway.
And you now have that value for future use.


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
Anonymous
Not applicable
There is a parameter - cell height for a table of 1000 rows.
I need to store the value to this parameter by the height of the largest text block (from one from 1000 cells).
And then I need to use the value of this parameter in further calculations in the parameters script.
I need to do this without the user's participation.
Therefore, using HOTSPOT2 is not suitable.
Learn and get certified!