I have elevation labels for things like ditch bottoms and PGL's. I want a PGL elevation to read PGL EL. 12.34 and a ditch bottom to read EL. 12.34.
When I use the labeler and us PGL EL. or EL. as my prefix, I can get that space by adding a space after EL. in the Prefix window. I make sure I save everything. If I close this window and reload my .xlp, the spaces are gone and I have to reinsert them after all of my elevation labels. I thought maybe the offset box would do something, but nothing seems to be changing as I change that number/
Is there a better way to get that space and make sure it stays so i dont have to redo this every time?
Thanks
This sounds like something that needs to be reported to Bentley. Some sort of "data cleanup" function must be stripping the trailing spaces. The first thing that I would try as a workaround is to use ASCII Character Codes to insert a non printing character instead of a space. Just a hunch but it may work.
Looks like the data cleanup takes care of the space ASCII code too. The code is Alt+32, which does insert a space and shows in my label. But the same thing happens when I close the labeler and reopen; spaces are gone. I also tried Alt+0160 from the Character Map in Windows and that did not even insert a space. It shows it inserting a space in the dialogue, but no space appears when drawing labels.
Zachary Billings, P.E.
Senior Roadway Engineer (Licensed in FL and MI)
CONSOR Engineers, LLC
System Info:
Windows 11 | Intel Core i7-13700k | Nvidia RTX 4090 FE | 32 GB of RAM | 2 TB Western Digital Black SN850x NVME
ORD Version 10.12.02.004 | FDOT Connect Version 10.12.01.00
YouTube Page for ORD: https://tinyurl.com/BillingsCADD
Try Alt+255 - that's the non-breaking space character. If the .xlp file is XML, it might retain Alt+255, vs Alt+32.
Charles (Chuck) Rheault CADD Manager
MDOT State Highway Administration Maryland DOT - State Highway Administration User Communities Page
Alt+255 does not work either. Does not actually add space in the label.
Well, it was worth a shot. I guess someone needs to log a TR/CR on this.
Yes, the space is truncated at the time the preference file is created. Good catch, never noticed this before. Good News is we, FDOT ECSO , have the VBAcode and we are looking at how to fix it. Stay Tuned.
BTW the xlp file is a text file that you can edit rather than go through all the dialogs to make the changes. However, once you re save the preference file it will truncate all over again. So you could make all your space edits in the text file once you have all the labels set, then load it to label. Just don't resave.
Vern
Answer Verified By: Zachary Billings
Cool, thanks Vern! Looking forward to that fix!