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