Borg
2005-01-31, 09:09 PM
This should be an easy one for me but I can't seem to figure it out.
I expect the code below to insert the following note.
"NOTE: THIS DRAWING WAS
FORMERLY IDENTIFIED AS
LDAR-XXX"
(command "text" "s" "romand" "17.125,5.375" 0.1875 0
(strcat "NOTE: THIS DRAWING WAS""\nFORMERLY IDENTIFIED AS" "\n "
(vl-string-right-trim ".DWG" (getvar "DWGNAME"))))
What I get is this:
"NOTE: THIS DRAWING WAS
FORMERLY IDENTIFIED AS
LDAR-XXX"
I tried using the "\r" instead of, and in addition to the "\t", but
all that produces is a question mark.
What's up?
Thanks
I expect the code below to insert the following note.
"NOTE: THIS DRAWING WAS
FORMERLY IDENTIFIED AS
LDAR-XXX"
(command "text" "s" "romand" "17.125,5.375" 0.1875 0
(strcat "NOTE: THIS DRAWING WAS""\nFORMERLY IDENTIFIED AS" "\n "
(vl-string-right-trim ".DWG" (getvar "DWGNAME"))))
What I get is this:
"NOTE: THIS DRAWING WAS
FORMERLY IDENTIFIED AS
LDAR-XXX"
I tried using the "\r" instead of, and in addition to the "\t", but
all that produces is a question mark.
What's up?
Thanks