Set e1 to the name of the first entity in drawing:
Command: (setq e1 (entnext))
<Entity name: 1d62d60>
Set ss to a null selection set:
Command: (setq ss (ssadd))
<Selection set: 2>
The following command adds the e1 entity to the selection set referenced by ss:
Command: (ssadd e1 ss)
<Selection set: 2>
Get the entity following e1:
Command: (setq e2 (entnext e1))
<Entity name: 1d62d68>
Add e2 to the ss entity:
Command: (ssadd e2 ss)
<Selection set: 2> |