"George" wrote in message
news:3B709E47.CA228C63@ipdg3.com...
> Does anyone know of a return character to use in an autocad script file
> for cases where a space won't work?
>
> For example the following line is supposed to insert a block with the
> attributes:
>
> WN: GLD-7A
> CR: 630
>
> WN: GLD-8A
> CR: 928
>
> however, when run, the script instead results in:
>
> WN: GLD-7A 630
> CR: INSERT GTE 17037.634,9091.339 1 1 0 GLD-8A 928
>
> Here is the code:
>
>
> INSERT GTE 17037.634,9091.339 1 1 0 GLD-7A 630
> INSERT GTE 17037.634,9091.339 1 1 0 GLD-8A 928
George,
I have found that WordPerfect is the easiest way for me to write scripts for
blocks with multiple attributes. You need a hard return (WordPerfect
terminology) instead of a space as a space is interpreted as a space in the
first attribute.
INSERT GTE 17037.634,9091.339 1 1 0 GLD-7A(hard return)630
CR: INSERT GTE 17037.634,9091.339 1 1 0 GLD-8A 928 ;This is inserted as the
second attribute and from my experience, you may get two or three blocks max
when the script will crash.
If this is unclear, please let me know and I will try to explain it in a
more logical manner.
Good luck,
Ray
Then said he unto them, But now, he that hath a purse, let him take it, and
likewise his scrip: and he that hath no sword, let him sell his garment, and
buy one. - Luke 22:36 KJV