(nentsel [prompt])


Ask the user to select an entity.


This function works just like entsel, except nentsel lets you to pick an entity and return its name, even when the entity belongs to a block or a polyline. The prompt argument is an optional prompt you can present to the user.

Example

Code Returns
(setq n (nentsel "Select a polyline: "))
[pick entity]
Select a polyline:
(<Entity name: 890158>
(5.0 5.0 0.0))

Tell me about...

(initget [bits] [string])

(nentselp [prompt] [point])

(setq symbol1 statement1 [symbol2 statement2] ...)

LISP Compatibility

Programming Overview of LISP (LISt Processing) Language