Hey!
Everyone was so helpful on my last issue, I was wondering if I could bother the hive mind for another hint:
I have a title block which has a city and state as separate attributes. I would like the city and state the be centered with the text above it:
Title A
Title B
Title C
CITY STATE
The issue is the "city" and "state" are be separate attributes (It would be trivial if they could be combined into one). I have a bunch of DWG's in which the last line is shifted depending on the length of the city name.
I have tried to write an LISP script to detect the length of the city attribute and shift the line accordingly, but I have miserably failed (I'm having difficulty dealing with attributes without VBA knowledge). Any hints or pointers would be extremely appreciated.
Thanks for a taking a peak at my problem!
Take care,
Seth
P.S. I can upload a sample title block if anyone is interested.
P.P.S. I thought of some more information:
The state will always be two characters
I'm trying to write a post-processing LISP script (a lot of the drawings have already been created)