Function Entry: SSADD
← Prev | ↑ Chapter | Next → | Index | Symbols
Function Entry: SSADD
Name
ssadd
Class
Host Function
Syntax
(ssadd [ename [ss]])
Arguments and Values
ename: optional entity namess: optional selection set
Description
Creates a new selection set or adds an entity to an existing one.
Return Values
Selection set or nil.
Side Effects
Creates or mutates a selection set object.
Compatibility
Part of the programmatic selection-set manipulation API.
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.
See Also
- BricsCAD V9 documented
ssaddas compatible-with-enhancements. The current BricsCAD V26 surface is presumed compatible; verify in Phase 5.
Source Notes
- [ssadd (AutoLISP)](https://help.autodesk.com/cloudhelp/2024/HUN/AutoCAD-AutoLISP-Reference/files/GUID-22337977-82F2-4394-B209-39DE2B4B9E86.htm)
- [About Modifying Selection Sets (AutoLISP)](https://help.autodesk.com/cloudhelp/2026/ESP/AutoCAD-AutoLISP/files/GUID-BF30AA6B-AB31-4085-BEC8-ABA518E9DD3C.htm)
Notes
- With no arguments, Autodesk documents that a new empty selection set is created.
- If the entity is already in the set, Autodesk documents that the operation is ignored and no error is reported.
- If a selection set is shared through multiple variables, Autodesk documents that mutation is visible through all of them because the same set object is returned.