Add it to the selection set.
This function adds entity entity-name to selection-set or creates a new selection set (when ssadd is used without arguments). The ssadd function works in one of the three ways below:
| Code | Result |
|---|---|
|
A new selection set is created with no entitys. |
|
A new selection set is created containing entity-name as the only entity. |
|
Adds the entity, entity-name, to an existing selection set, selection-set. |
The new or revised selection set name is returned in a format similar to the following:
<Selection set: 26146268>
Bricscad can have more than one selection set open at a time.
Examples
| Code | Comments |
|---|---|
| (setq sset1 (ssadd)) | Creates a new selection set called sset1. |
| (setq ent1 (car (entsel))) | Prompts the user to select the entity to set to ent1 |
| (ssadd ent1 sset1) | Adds ent1 to sset1. |
| (setq ent2 (entlast)) | Returns last entity in drawing; sets it to ent2. |
| (ssadd ent2 sset1) | Adds ent2 to sset1. |
Tell me about...
(ssdel entity-name selection-set)
(ssget [mode] [point1 [point2]] [point-list] [filter-list])
(setq symbol1 statement1 [symbol2 statement2] ...)
Programming Overview of LISP (LISt Processing) Language
| Bricscad™ is commercialized by Bricsys NV. Bricsys NV and Vondle NV are fully owned subsidiaries of Menhirs NV. © 2001- Menhirs NV - All rights reserved. |