## Working with User-Defined Groups

PC-DMIS lets you group contiguous Edit window commands together, placing them inside of a user-defined GROUP / ENDGROUP command pair (in DMIS mode groups are shown as DMISEW commands). Grouped commands help simplify user-interaction with the part program by allowing operations on commands inside the group to be applied at once on the entire group. In addition, the program appears less busy to the eye, allowing you to better visualize the overall structure of the part program.

For example, suppose you have several hundred points in your part program from a scan that you want to hide to make the overall structure of the part program more visible and easier to work with. You can select all the point commands, as long as they are all in one list, and then select the Insert | Group menu item to group those commands together. In any mode of the Edit window you can then show or hide the commands inside of the group as needed.

Sample Group of Several Points Expanded | Sample Group of Several Points Collapsed

Groups appear in this format inside the Edit window's Command mode:

GRP1 = GROUP/SHOWALLPARAMS = YES

... commands inside the group are listed

... between the two commands

ENDGROUP/

SHOWALLPARAMS = This YES / NO toggle field let you show or hide commands inside of the group in Command or DMIS modes. By default this command is set to YES and shows all commands held within the group. If you set it to NO, commands inside the group still exist but are hidden.

More:

Inserting Groups

Editing Groups

Removing Groups

Using Multiple Arm Mode with Groups

Performing Operations on Groups

Using Feature Based Measurement