Function Entry: NENTSEL
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: NENTSEL
Name
nentsel
Class
Host Function
Syntax
(nentsel [msg])
Arguments and Values
msg: optional prompt string
Description
Prompts the user to select a non-main or nested subentity and returns selection information.
Return Values
List or nil.
Autodesk documents:
- for non-complex objects, the same information as
entsel - for a 3D polyline selection, a list containing the selected vertex name and the pick point
- for nested block selections, additional context information including a transformation matrix and containing block names
Side Effects
- prompts the user
- consumes interactive input
Compatibility
Nested-selection semantics are host-specific and more complex than entsel.
Availability
- AutoCAD 2026: documented (per Autodesk reference page).
- BricsCAD V26: presumed compatible (no contradicting page found).
- Status: AutoCAD documented; BricsCAD presumed-both pending Phase 4 verification.
Source Notes
- [nentsel (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/CHS/AutoCAD-LT-AutoLISP-Reference/files/GUID-A7AC0917-66CE-4BAA-BBAF-D49F8ADB26B1.htm)
- [About Accessing an Object's Entity Name (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/PLK/AutoCAD-AutoLISP/files/GUID-3EEA3D4B-36B6-4E3B-B9E8-62B6265FA68C.htm)
Notes
- Autodesk documents that
nentselignores the current object-snap mode unless the user explicitly requests it. - Autodesk documents that
nentselhonors keywords established byinitget. - Autodesk documents that for 3D polylines, the returned subentity is the starting vertex of the picked segment, never the
SEQENDsubentity.