 |  |  |  | Command |  | Argument |
 | Datatype |  | Default |  | Min |  | Max |  |
 |  | Format: |  | Add<Obj|All> |
| Object selection |  | SELECTION |  |
- |  | - |  | - |  |  |  | Python: |
 | resultlist
= Add<Obj|All>(selection1) |  |  |
 | Menu: |  | Edit > Add > to soup: Object |
 |  |  | Related: |  | RemoveObj, DelObj |  |  |  | Required: |
 |  |
 |  |
The Add
command adds objects that have been removed before
(e.g. to exclude them from simulations) back to the soup.
Example 1:
AddObj 5
Add object 5 to the soup.
Example
2:
first,last = AddObj 1crn
Add object 1crn to the soup and assign the numbers of the first and last atom to variables
'first' and 'last'.
|