In general, all operations that can be performed on a single command in the Edit window, when performed on a group, are performed on every item contained within the group.
The various operations you can perform on a group are described in detail below. Most are taken from the Command mode's shortcut menu. Right-click in the Command mode to see this shortcut menu. This shortcut menu is discussed in the "Command Mode Shortcut Menu" topic in the "Using Shortcut Keys and Shortcut Menus" chapter. The information below only applies to how this menu works with GROUP commands or features inside of groups.
Shortcut Menu Operations on Groups
Select Command - When the group is collapsed and you choose Select Command, PC-DMIS selects every command contained in the group as a block. When the group is expanded, Select Command selects only the GROUP command itself.
Select Block - This menu item selects every command contained in the group as a block, regardless of the expanded/collapsed state of the group.
Execute From Cursor (Ctrl + U) - This doesn't change from the usual operation.
Execute Block (Ctrl + L) - If you select a block, PC-DMIS only executes the block. If you selected a group as the block, then PC-DMIS executes the group.
Jump To (Ctrl + J) - This doesn't change from the usual operation.
Jump Back (Alt + J) - This doesn't change from the usual operation.
Edit (F9) - When the cursor is positioned on the GROUP command, a Group dialog box appears. You can modify the group's ID and display state. If you select Edit on the ENDGROUP command, nothing happens.
Mark (F3) - If you place the cursor on the GROUP command and select this menu item, all items contained within the group are Marked or Unmarked as a whole. If you have any unmarked commands within the group when you select this menu item, those commands become marked, and all other commands remain marked. If all commands within the group are already marked when you select Mark (F3), all commands become unmarked. The color of the GROUP command reflects the marked state of the commands contained within the group. If at least one command within the group is marked for execution, then the group displays as marked for execution. If no command is marked, then the group displays as unmarked.
Delete - This menu item only appears on the Summary mode shortcut menu. If you select a GROUP command and then select Delete, PC-DMIS deletes the GROUP and ENDGROUP commands and everything in between. You cannot undo a GROUP deletion.
Group - If you select an existing GROUP command and then select the Group menu item, PC-DMIS creates a new GROUP command and nests the selected group inside it.
Collapse Groups - This doesn't change from the usual operation.
Expand Groups - This doesn't change from the usual operation.
Set as Start Point - This doesn't change from the usual operation.
Cut - Removes the GROUP command and ENDGROUP command. All items stored inside the group remain in the measurement routine.
Copy and Paste - This copies and pastes a GROUP / ENDGROUP pair and everything inside the group.
Other Group Operations
File | Partial Execution | Execute Feature (Ctrl + E) - Selecting this menu item while selecting the GROUP command executes all features inside the group.
Flow Control Statements - The ID can be used to control the flow of measurement routine execution, similar to how you can send execution flow to a LABEL command. You can use GOTO or IF_GOTO flow control commands to send the execution flow to a group based on defined conditions. For example:
IF_GOTO/VAR > 0, GOTO = GRP1
or
GOTO/GRP1