Mystery variable
25-Apr-88 19:33:25
Sb: #22175-Mystery variable
Fm: Training [ADESK] 73417,2235
To: Michael Murphree 71550,1005
Michael —
I might redefine the INSERT command, or use a new command similar
to the one below:
..
(defun C:INST ()
(command "insert" pause pause pause pause pause)
(setq e (entlast))
)
..
or simply run this routine after a block INSERTion:
..
(defun C:EL ()
(setq e (entlast))
)
..
the end result being that the global variable E is bound to the entity name
of the last block inserted into the drawing. It's easy to use this
variable in response to whatever "Select objects:" prompt you encounter
after that.
— Brad
..