std-inp-entsel | ![]() |
STD-ENTSEL with full options.
options for INITGET, like looping for input (flag 1),
handling and printing keywords,
handling defaults
A possible feature could be a filter list.
flag: integer, same as the INITGET flag or nil
kwd: a initget-like string or a list of strings or nil
msg: a string to be displayed as a prompt. If nil "\nSelect object: " is prompted.
def: default value or nil
Same as ENTSEL.
If a keyword is matching, the keyword string.
It returns 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.
Interrupts the program flow, prints the formatted message and waits for user input if there is no pre-selected pickset or it contains more than one entity
(std-require 'STDINPUT)
Defined in STDINPUT