ACA: Formula Property to Abbreviate Room Name

A question came up in the Autodesk AutoCADĀ® Architecture forum regarding the creation of a custom Space Tag to display an abbreviated room name. I indicated that was possible, if a property was added to hold the abbreviated room name. I provided an example file and explained how I created the tag. I assumed that the user would determine the abbreviated name and type it in for each Space.

Another user jumped in and indicated an expectation that I would have provided a formula property to automatically generate the abbreviation. While the example provided by the original poster was for a two-word room name where the abbreviated version was the first letter of each word, I had not taken that to always be the case. But I found the idea interesting enough to take some time to come up with a formula that would do that, in case that was the intent of the original poster or would be of interest to others. Here is the formula I devised:

rmName = "[Name]"
rmAbbr = ""
rmName = Trim(...

Read more