std-nentsel | ![]() |
Before R14 often used for changing polyline segments, now only for getting block attributes or nested block subentities.
If a gripped pickset contains one entity this one is returned.
If a lisp function given at the prompt returns a point or an entity this one is returned.
Note that in NENTSEL the argument is optional, in STD-NENTSEL not.
msg: a string to be displayed as a prompt. If nil "\nSelect object: " is prompted.
Same as NENTSEL.
If a keyword is matching, the keyword string.
On not complex objects (i.e., not a polyline or block), nentsel returns the same information as entsel.
On complex objects, nentsel returns the picked subentity information, a list containing the name of the subentity (vertex) and the pick point. This is similar to the list returned by ENTSEL, except that the name of the selected vertex is returned instead of the polyline header. The NENTSEL function always returns the starting vertex of the selected polyline segment. Picking the third segment of a polyline, for example, returns the third vertex. The Seqend subentity is never returned by nentsel for a polyline.
When the selected object is a component of a block reference other than an attribute, NENTSEL returns a list containing four elements, the third is the Model to World Transformation Matrix. and the forth the list of all nested block names.
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