## Working with Viewsets

You can create and save different Graphics Display window views (termed "viewsets") that you can later recall by using a command that gets inserted into your part program. Viewsets store the CAD model's orientation, ID label visibility and position, and shading. The Create Viewset menu option allows you to create an unlimited number of viewsets in your part program. You can recall multiple viewsets as often as desired.

To Create a Viewset:

1. Set up the view as desired. You can do this by using the View Setup dialog box and modifying the zoom and rotation of the part in the Graphics Display window. See "Setting Up the Screen View" in "Editing the CAD Display".

2. Select the Insert | Report Command | Create Viewset menu option.
   A small Viewset dialog box will appear with the prompt "Enter View Name To Save." The dialog box will contain a default name starting with VIEWSET1 and then incrementing the number for subsequent view sets (VIEWSET2, VIEWSET3, and so on):

Viewset dialog box with a default name

3. In the box, type in the desired name (19-character limit) for the view.

4. Click the OK button or press the ENTER key. PC-DMIS sets the current viewset equal to the name you chose by inserting a <NAME>=VIEWSET command, where <NAME> is the defined viewset name.

To Recall a Viewset:

You can quickly recall the created viewset by selecting it from the Views list on the Settings toolbar or by using the Recall Viewset menu option. When your cursor is on or under the RECALL/VIEWSET,<NAME> command in the Edit window, PC-DMIS will display the created viewset in the Graphics Display window. If you mark and execute this command, PC-DMIS will display the saved view in the Graphics Display window during program execution as well.

Additionally, recalled viewsets will appear in your final report if the Report Window uses a template or custom report that displays a CADReportObject. Viewsets in reports appear on a new page for each RECALL/VIEWSET command.

To Update a Viewset:

You can also quickly modify an existing viewset. Simply select the RECALL/VIEWSET,<NAME> command in the Edit window, modify the Graphics Display window as desired for that view, and then select the Insert | Report Command | Save Viewset menu option (or select the Save Viewset icon from the Graphics Mode toolbar).

Note: If you just want to change and then save the current viewset without creating a new viewset, select the Save Viewset menu option instead.