Generate Grid from Expression

On the Grid tab, in the Add group: Click Generate Grid from Expression to generate a grid from a reference grid and an expression. (Ctrl+G,E)

The tool will process all visible and invisible points of the reference grid and apply a Z value to each XY point based upon the Z expression you enter. This might be a constant Z value, or Z values referenced from another grid or grids.

Do the following:

  1. Accept the default Grid folder or choose a sub folder for the generated grid.

  2. In Grid Name, enter a name for the grid that will be created.

  3. Use the drop-down to select a Reference grid:

  1. Use the Functions, Operators, Constants and Variables of the Expression Editor to create a Z Value Expression:

    For example, the roof surface of a seam (E) is chosen as the reference grid and a Z expression is used to create an output grid which provides a visual indication of the thickness of that seam:

    GetZValue(ESR) - GetZValue(ESF)

  1. Define a Visibility Expression that can be used to filter out what you are not interested in seeing. You can reference the input grid from the Design data:

    For example, you generate a Thickness grid as per the Z Value expression, but also query whether the Floor has a higher value than the Roof so that you can identify anomalies.

  1. Select the Fill holes check box to fill any holes created by the process.

  1. Finally, click Apply to create a grid from the reference grid and the defined expression:

    Check that the result of the operation is what you expect.

    If necessary: On the Design tab, in the Action group, click Undo (CTRL + Z) and Redo (CTRL + Y) to undo and redo (revert) the last action.