;;filename
(setq @fname1 (getvar "dwgname")
@fname2 (vl-string-right-trim ".dwg" @fname1)
@fname2 (vl-string-right-trim ".DWG" @fname1)
@fname3 (getvar "dwgprefix")
@fname (strcat @fname3 @fname2))
I have this piece of code, but how can I get it to search for ".dwg" irrespective of case?
One persons machine always puts the suffix in uppercase while all the rest are lower case.
I want to remove either option to make a plot file name based on just the file name minus the suffix.