##

## Working with CAD Groups

Similar to a CAD level, a CAD group consists of a group of user-selected CAD geometries called "elements" selected from the Graphics Display window.

However, CAD groups differ from CAD levels in these respects:

- CAD elements can belong to more than one CAD group and there can be any number of these groups.

- CAD elements in a CAD group can span CAD levels.

- CAD elements in a CAD group can span across multiple assembly components.

- A CAD group's settings apply to all views of the graphical model.

Selecting the Edit | Graphics Display Window | CAD Groups
menu item displays the CAD Groups dialog box. This dialog box lets you define the CAD elements that will be assigned to the groups. You can also use it to modify groups, delete groups, and view or hide groups in the Graphics Display window.

CAD group information is saved with the .CAD file so that if you import the .CAD into another part program the group information will be available there too.

CAD Groups dialog box

The dialog box contains these items:

Item | Description
CAD Groups list | The list of CAD groups in the upper-left area of the dialog box shows all the current CAD groups in the CAD model. Because CAD elements can be assigned to more than one group, this list lets you select (highlight) more than one group from the list at a time. So, for example, you could select a surface, then select two groups, and add that surface to both groups.

Here are some operations you can perform using this groups list:

- Double-click on a group from the list to select all CAD elements assigned to that group.

- Select a CAD element in the Graphics Display window and press and hold CTRL on the keyboard to select the corresponding group in the group list.

- Mark the check box next to a group to show the CAD elements assigned to it.

- Clear the check box next to a group to hide the CAD elements assigned to it.

Visibility area | The Visibility area provides option buttons and icon buttons that allow you to run visibility operations in order to change the hidden state of the CAD groups. If a CAD object belongs to more than one group, and at least one of the groups is hidden, then that CAD object will be hidden. So even if the CAD object is visible in another group, it will still be hidden.

These command buttons have pictures on them that depict their action:

- Hide - Hides the CAD group selected in the list.

- Hide Siblings - Hides all the CAD groups except the group selected in the list.

- Show - Shows the CAD group selected in the list.

- Show Siblings - Shows all the CAD groups except the group selected in the list.

- Show All - Shows all the CAD groups in the list.

Note: These buttons will have a dark gray background and will be unavailable for selection until you select a CAD group from the list of groups.

Editing area | The Editing area allows you to modify CAD groups. For all buttons except Create, you will need to first select one or more group from the CAD groups list and the buttons will affect the selected group or groups.

- Create - Creates a new group. Initially, there won't be any CAD elements assigned with this new group. You will need to select the CAD elements from the Graphics Display window and then use the Add button in the CAD Elements section to add the selected CAD elements to the new group.

- Rename - Renames the selected group. You can also rename a group by clicking on a selected group in the list until the cursor appears.

- Delete - Deletes the selected groups (but not the CAD elements in those groups).

Note: No Transform or Color buttons are used with CAD groups because the CAD elements can belong to more than one group.

Saved Views area | The Saved Views area stores the CAD group visibility state in the CAD model. These are saved inside the .CAD file. Use the drop-down combo box to either select and recall a saved visibility state or to specify a name for a new view. Note: This CAD group visibility state does not include the number of graphics views. The number of graphics views can only be saved using viewsets. See "Working with Viewsets".

- Save - Saves the current visibility state using the name entered in the combo box.

- Delete - Deletes the saved visibility state selected in the combo box.

CAD Elements area | The CAD Elements area modifies the group using the selected CAD elements. You can select (or deselect) CAD elements by simply clicking on or box-selecting them in the Graphics Display window. Selected elements will be highlighted in red.

- Add - Adds the selected CAD elements to the currently selected groups in the list.

- Subtract- Removes the selected CAD elements from the currently selected groups in the list. If a selected CAD element is not on the selected group, then that CAD element will not be modified.

- Deselect All - Clears any selected CAD elements on the Graphics Display window.

- Selection Filter - The check boxes in the Selection Filter area filter the type of CAD elements assigned to a CAD group. You can also use the Color check box in this area to filter selection by the color of the CAD element. When you select the Color check-box, the color of the next CAD element that you select in the graphics window will be used as the filter color. For subsequent selections, only CAD elements with that color can be selected.

Creating CAD Groups

1. Access the CAD Groups dialog box.

2. Click Create from the Editing area. A new group will appear with "New Group" as the default name followed by a unique number.

3. Select the group and rename it if desired by clicking again on the group or using the Rename button.

4. Ensure that the CAD group is selected from the list.

5. From the Graphics Display window, select the CAD elements you want included in the CAD group. Your selection can span multiple part models as part of an assembly or multiple layers. To limit which CAD element types are selectable, select the check boxes of CAD elements in the Selection Filter area.

6. Click the Add button. PC-DMIS assigns the selected elements to the selected group. Now when you show that group and hide other groups, PC-DMIS will show only those elements.

7. Click OK when finished to close the dialog box.

Modifying CAD Groups

1. Access the CAD Groups dialog box.

2. Select the group from the CAD Groups list.

3. To add elements to the group, select the CAD elements from the Graphics Display window and click Add. PC-DMIS modifies the group accordingly.

4. To remove elements from the group, select the group and display its assigned CAD elements. From the Graphics Display window, select the elements to remove and click Subtract. PC-DMIS modifies the group accordingly.

5. Click OK when finished to close the dialog box.

Deleting CAD Groups

1. Access the CAD Groups dialog box.

2. Select a group from the CAD Groups list.

3. Click Delete.

4. Click OK when finished to close the dialog box.