esc in script?
esc in script?
(OP)
It may be very simple. But I'm new to using script files.
I would like to know how to end a repeating command. <Spacebar> won't work in the script as follows:
multiple
-insert
<<block name>>
x1,y1,z1 1 1 0
x2,y2,z2 1 1 0
etc.
I want to end the insert command here, so that I can add a new command.
I would like to know how to end a repeating command. <Spacebar> won't work in the script as follows:
multiple
-insert
<<block name>>
x1,y1,z1 1 1 0
x2,y2,z2 1 1 0
etc.
I want to end the insert command here, so that I can add a new command.





RE: esc in script?
-insert
c:\dwg\first_block.dwg
0,0
-insert
c:\dwg\second_block.dwg
100,100
previous line ended script
Hope this helps
RE: esc in script?
just typing (command) at the command line or at a script line , or as a LISP instruction, with the () included.
I put it on a menu icon so I do not need tto use my left hand.
You can reach me at k281969@hotmail.com
but keep your post here for mutual benefits.
Pardal
RE: esc in script?
That is the sort of information we should get from AutoCad online help.
Thanks a lot,
Jtt
RE: esc in script?
Once my plant design professor told me:
Books are not slaves, they are our friend and one should treat so.
I got this tip reading, reading, and reading.
You can reach me at k281969@hotmail.com
but keep your post here for mutual benefits.
Pardal
RE: esc in script?
Carl
For scripts use this workaround by defining (cancel) in lisp, simply
(defun SCRIPT-CANCEL ()
(command)
(command "resume")
)
and in a SCRIPT.SCR:
..
[<script commands>]
(script-cancel)
[<more script commands>]
..
RE: esc in script?
I've been using transparent commands to avoid this problem (and/or by using Excel functions). But, of course, some commands cannot be transparent, and that still gave me some problem. Now, you have solved it.
I started using script files only since February this year, and I owe that to a Carl B. Is this the same Carl B?
Thank you very much.
RE: esc in script?
My first job in ACAD was on 1991 under Release 2.16, in DOS
, ambar phopor 14" Monitor, runing at a XT .
By that time I bougth my first mouse for $50 .
The task was to drw neighborhood blocks for a Gas company.
It was a mountain city so many were unregular poligon shape
and runing LOTUS 123 , I learn to do SCRIPTS, and furthermore than LISP is a powerfull tool for many case SCRIPT do it's work well done.
You can reach me at k281969@hotmail.com
but keep your post here for mutual benefits.
Pardal