---
title: Error "Add ZHC point not on GRID"
slug: faq/error-add-zhc-point-not-on-grid
docTags: 
createdAt: 2023-08-28T08:55:39.944Z
---



This error is raised during the creation of the Z-height compensation (ZHC) grid when **one** of the following is the case:

- difference between the coordinate of the new point and the first point is less than 0 on the **X-axis**
- difference between the coordinate of the new point and the first point is less than 0 on the **Y-axis**
- difference between the point position on the **X-axis&#x20;**&#x61;nd the grid **column** is more than 0.01
- difference between the point position on the **Y-axis&#x20;**&#x61;nd the grid **row&#x20;**&#x69;s more than 0.01

::Image[]{src="https://api.archbee.com/api/optimize/wP9peVc2bAVBPOh6IboCS/91eOPGmQ4pffWG7jStJTM_image.png" size="70" width="473" height="448" position="center" showCaption="false"}

:::hint{type="info"}
Note that the first point of the Z-height compensation grid needs to be the numerically lowest value - the grid measurement extends in positive X and Y directions.
:::

:::hint{type="info"}
Note that relative grid rows/columns positions are multiplications of the spacing ("grid size" in the macro).
:::

