Shape Visibility

You may want a shape to appear/disappear in Runtime. You can make the shape either visible or invisible as needed. For example, a Label indicating that a room is in use.

Setting Visibility in the Properties Grid

  1. In Project Explorer, select the Map or Display Layout containing the shape.
  2. Select the shape to update the Visibility on.
  3. In the Properties grid, check the Visible checkbox to make the shape visible. Uncheck it to make the shape invisible.

Changing Visibility for a Single Asset in a Workflow

To change the Visibility property of a shape, you will first require an Action block in your Workflow. Drag and drop one into the work area if required.

  1. Double-click the Action block to open the Action Browser.
  2. Navigate to the Map or Display Layout containing the shape.
  3. Expand the Map or Display Layout and select the shape.
  4. In the Commands pane, click the Set Visible (Value) command.
  5. In the Expression panel, click the blue Value text.
  6. Set to True to make the shape visible, or False to make the shape invisible. Click OK.
    Note: You can click Advanced to have the Visibility property be set based on a logical expression.
  7. Click OK again to set the command on the Action block.

Change Visibility for Multiple Assets in a Workflow

To change the Visibility property of a set of shapes, you will first require an Action block in your Workflow. Drag and drop one into the work area if required.

  1. Double-click the Action block to open the Action Browser.
  2. In the Objects pane, select Display Layout.
  3. In the Commands pane, select Set Drawing Objects Visibility.
  4. In the Expression pane, selectVisible to choose the visibility.
    1. Select True to make the shapes visible, or False to make them invisible.
    2. Click OK.
  5. In the Expression pane, select Shape IDs to choose the shapes being affected.
    1. For each shape, select it then click the > button, or click >> to select all shapes.
    2. Click OK.
  6. Click OK again to set the command on the Action block.