cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 
Developer forum

Stepdown symbol, edit 2D script

Vincent G
Contributor

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

VincentG_1-1651130373011.png


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. 

VincentG_2-1651130508319.png

 

 Thank you in advance

1 REPLY 1

Barry Kelly
Moderator

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.

 

 

BarryKelly_2-1651133645024.png

 

 

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

 

Barry.


One of the forum moderators.
Versions 6.5 to 25
Dell XPS- i7-6700 @ 3.4Ghz, 16GB ram, GeForce GTX 960 (2GB), Windows 10
Dell Precision 3510 - i7 6820HQ @ 2.70GHz, 16GB RAM, AMD FirePro W5130M, Windows 10

Still looking?

Browse more topics

Back to forum

See latest solutions

Accepted solutions

Start a new discussion!