It is comming automatically as far as I know, because if I add that same parameter to the door schedule it shows the same character. I think that is added by that specific parameter and not by the label, but not sure.
This is how it shows the parameter on the schedule:
If I try to override it by simply writting an "x" it goes back to "/", but I was thinking that maybe in GDL I could force the character override. I'm clueless.
OK, so the 'door leaf widths' parameter seems to be coming from the door object, so it has to be changed in there.
Is there anything in the door parameters that lets you control this?
What door is it and what version of Archicad and language as well?
I only have the AUS library, so may not have the door you have to check it out.
Different language versions have different door and window objects.
You could alter the default Graphisoft door object - but that is really not a good idea.
Or if you wrote the GDL label, you could use the SPLIT command on that 'door leaf widths' parameter to split it into a number (first leaf), string (/), number (second leaf).
Then piece the text back together number (first leaf), your_string (x), number (second leaf).
SPLIT should work but if it doesn't you could maybe use STRLEN, STRSTR & STRSUB to find the number of characters in the 'door leaf widths' parameter, the position of the '/" character and then get the substrings for just the leaf size parts and put them back together as text with the 'x" separator.
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
Thnaks, I'm using INT version, and the door object is the one that comes with AC 25, hinged Double Door Asymmetric.
For the label I started using the default one that comes built-in which is Door Window Stamp.
I was trying your suggestion of splitting the name, but honestly I'm scratching my head on how to proceed with it. The name splitting should happen in the 2D script tab (I think), and this is my code in it:
I was checking the gdl reference guide (SPLIT_gdlcommand ) and this is what it says: format: any combination of constant strings, %s, %n and %^n -s. Parts in the string must fit the constant strings, %s denotes any string value delimited by spaces or tabs, while %n or %^n denotes any numeric value. If the ‘^’ flag is present, current system settings for decimal separator and digit grouping characters are taken into consideration when matching the actual numerical value.
Not sure if I can ask in this topic or open a new one (you can let me know).
I would like to add after those two values the height of the door.
I tried making a new request and append it at the end of the new value,in theory should be like this: n_leaf1 "+" n_leaf2 "+" _heightvalue. But what I have tried it gives error in the floor plan, although the 2D script is ok.