Over 1.108.000 registered users (EN+CZ).
AutoCAD tips, Inventor tips, Revit tips, Civil tips, Fusion tips.
Try the updated Units converter and the new precise Engineering calculator.
New AutoCAD 2026 commands and sys.variables and env.variables,.
CAD tip # 3968:
Question
A
The AutoLISP "Select objects" function 'ssget' offers several useful modifiers which are undocumented and unknown for many users. Besides usual documented formats like (ssget) or (ssget "_X"), (ssget "_W"), (ssget "_C") etc. you can use in your programs or macros e.g.:
- (ssget "_:S") - selecting a single selection (for single object use "_:S+.")
- (ssget "_:E") - selecting all objects crossing the selection box (can be also combined to e.g. (ssget "_:E:S")
- (ssget "_:N") - selecting objects including nested/child objects - e.g. with block references, polymeshes, etc.
- (ssget "_:D") - duplicate objects counted separately (2x selected object = 2 selections)
- (ssget "_:L") - stops users from selecting objects on locked layers
- (ssget "_:P") - rejects selection of viewports
- (ssget "_:R") - allow selection in long transactions
- (ssget "_:U") - enable subentity selection with Ctrl
- (ssget "_:V") - force subentity selection
- (ssget "+?) - add selected mode - L=Last, A=All, P=Previous - e.g. (ssget "_:S+L+P")
- (ssget "-?) - remove selected mode - L=Last, A=All, G=Group, P=Previous - e.g. (ssget "-M-A")
- (ssget "_+.") - allows window selection even in the single selection mode - e.g. (ssget "_+.:E:S") (may not work in some localized versions of AutoCAD)
ACADADTMapACADM
6.8.2004
37201×
this tip shared by ARKANCE experts applies to: AutoCAD · AutoCAD Architecture · AutoCAD Map 3D · AutoCAD Mechanical ·
![CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz] CAD Forum - tips, tricks, discussion and utilities for AutoCAD, Inventor, Revit and other Autodesk products [www.cadforum.cz]](../common/arkance_186.png)

