Syntax : (entsel "your message here")
Returns the entity's name and the point selected in a list.
Example:
(<Entity name: 3b40a08> (230.666 285.862 0.0))
(entsel [msg])
Arguments
msg
- A prompt string to be displayed to users. If omitted, entsel prompts with the message, "Select object."
Return Values
- A list whose first element is the entity name of the chosen object and whose second element is the coordinates (in terms of the current UCS) of the point used to pick the object.
The pick point returned by entsel does not represent a point that lies on the selected object. The point returned is the location of the crosshairs at the time of selection. The relationship between the pick point and the object will vary depending on the size of the pickbox and the current zoom scale.