Creating 2D Views for Runtime Users

Some 2D GraphWorX displays may be quite large. To help runtime users navigate large or complex displays, you can create views that automatically zoom and scroll to areas of detail that runtime users need access to. A view is a snapshot of a portion or subsection of a display. The same pre-set views that you create for runtime users will be available to you during configuration. During runtime, users can right-click the display to see a list of views; in configuration mode, you can see a display's views by right-clicking the display and selecting Custom Views. Clicking on a view takes you to that view.

 

Some examples of how you might use views including the following. In a display that incorporates an EarthWorX map shows the North American locations of a corporation's industrial plants, you create views that show an aerial view of each plant's campus. Another display monitors valves, water pressure, and water levels at 35 stations; you create a view for each station or each cluster of stations so that runtime users can easily skip to that view to see a station's read-outs. A third display is a vast console in which runtime users can scroll left and right, or they can use views to go directly to a section of the console. Click here to see the Lights view of a larger console.

 

Before you begin, here are some strategies for creating 2D views:

Creating a New View in 2D GraphWorX

To create a new view in a 2D display:

  1. Position the GraphWorX display so that your work surface shows exactly what you want to the view to look like. This may involve zooming in and out or scrolling up, down, left, or right to position the display. To do this, you can use the scrollbars, and the Zoom In and Zoom Out icons on the View ribbon. If the display contains an EarthWorX Viewer, you can use the Zoom levels in the map to zoom in and out. (For more information, refer to Zoom Capabilities in an EarthWorX Map.)

  2. From the Zoom section of the View ribbon, click the Custom Views icon, then select Add Current View from the drop-down menu. The Custom Views dialog box displays.

  3. In the Name field, type the name of the current view and click OK.

  4. Click the Custom Views icon again to make sure the new view appears in the drop-down menu.

Renaming, Deleting, and Sequencing Views

To rename, delete, or re-sequence a view:

  1. From the Zoom section of the View ribbon, click the Custom Views icon, then select Edit Views from the drop-down menu. The Custom Views dialog box displays.

  2. To delete a view, select the view from the list on the left, then click the Remove button.

  3. To change a view's sequence in the list, select the view, then click the up or down arrow button.

  4. To rename a view, select the view, then type the new name in the Name field.

  5. Click OK when you are done. The dialog box closes.

  6. Click the Custom Views icon again to make sure your changes appear in the drop-down menu.

Going to a 2D View in Runtime

After you have defined views in a display, runtime users can go from view to view. To do so, the runtime user simply right-clicks the view and selects one of the views from the list.

 

Alternatively, you can create a button that users can click to go to a specific view. For more information, refer to Set up a Button that Runs Views.

 

See also:

Displays