About building parametric objects with GDL.

Stepdown symbol, edit 2D script

Vincent G

Hi guys,


I'm quite novice with GFL, and mostly working on Revit these days so my knowledge is really rusty.
I got this setdown symbol coded by CI for us, and I'd like the value (manual input) to also allow letters (currently numerical only) in order to have VAR. or some prefix


I'm pretty sure this is dictated by the 2D script, the linerarDimensionFormat. Could you tell me what to replace in order to allow letters + numbers on that setdown value? I've been looking in GDL guides but haven't had luck yet. 



 Thank you in advance

Barry Kelly

The number (stepSize) is already being converted to a string, so it should be a case of simply typing the text you want in quotes then + then the converted number that is there already.






Don't forget to add a space after VAR in quotes if you want a gap between that and the number text.


If you want the user to be able to alter "VAR ", then create a text parameter and use the parameter name instead of "VAR ".



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

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!