Lisp Question - entsel

Sep 09, 2005 2 Replies

When selecting an entity with entsel, e.g.



(setq ent (entsel "\nSelect entity: "))



in the event of a null pick, is there any way to establish whether the user clicked on an empty area of the screen, or whether the user hit 'return' on the keyboard (or right-clicked on the mouse)?


Check out the ERRNO variable; 7 = bad pick, 52 = rt click/enter. ___

Thanks Paul.

Good to see you still frequent this ng (I've been away for some considerable time).

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required