THIS 22.1
Defining Groups of Parts
Defining Groups of Parts
| Description | keyword | second word | following words |
| Group definition | gdef | group id | part ids |
| Add parts to group | gadd | group id | part ids |
dd
- The line starts with
'gdef'or'gadd'and is followed by an integer for the group i.d, and then part i.d. numbers separated by spaces, or for a range of parts - separated by a ':'. - No options should be applied to this card, because all the words on the line are written out as integers.
- The input is on one line (which may result in a long line ... ). If the line is too
long (currently ~1000 characters) T/HIS will truncate the command and issue an error
message. The
'gadd'command is useful if the'gdef'command is too long to create a group on a single line.
| e.g. | gdef 1 | 1 2 3 4 | 10:20 30:40 |
| (group define i.d. 1) | (parts 1 2 3 and 4) | (parts 10 to 20 and 30 to 40) | |
| gadd 1 | 5 6 7 8 | 50:60 | |
| (group add i.d. 1) | (parts 5 6 7 and 8) | (parts 50 to 60) |