> For the complete documentation index, see [llms.txt](https://docs.besmart.software/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.besmart.software/common-for-several-products/smart-dimensions/dimension-to-nearest.md).

# Dimension to Nearest

The 'Dimension to Nearest' functionality works differently than other measuring tabs. It searches for elements around the element being measured.

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FP1Tu000RKzJNNIsOk5Sf%2F0.jpeg?alt=media)

There are two columns: one for the horizontal dimension, the other for the vertical. There are similar options in each of them:

**Measure Width/Position** - check it if you want to get horizontal/vertical dimension

**Measure** - this is the point of the measured element to which dimensions will snap. There are different options to choose from.

**Search Nearest** - this is the direction in which you want to search for the nearest elements. Nearest elements are the Categories you select below - Walls, Floors, etc. Options are:

* **Nearest** - will place a dimension on the side that is the closest to the measured categories
* **On Both Sides** - will place dimensions to both sides
* **On Left** - dimensions will be on the left side
* **On Right** - dimensions will be on the right side

**Filter Nearest** - choose the orientation of nearest elements to measure to.

**Nearest Reference:**

* **Side** - refers to the nearest side of the element, for example, it will measure to the nearest side of a wall.
* **Center** - refers to the center of the nearest element.

**Measure to Elements** - select categories that you want the tool to search for. If walls and grids are selected, the tool will measure the one that is closer to the measured element.

**Search Distance** - here you can limit the searching distance to the nearest elements.

Examples of To Nearest Element:

* Fire Sprinklers in the plan view

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FLlkvNyejYHBfFgTbef0A%2F1.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2Fc3ctoUPKjYDht0Acyyzu%2F2.jpeg?alt=media)

* Wall openings in the plan view

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2Fb6Gawo85CkeDiopJi06K%2F3.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FbksjyoKefSGv7qIIL023%2F4.jpeg?alt=media)

* Columns in plan view

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FzSyjyIVybaDmj3U6Xrgz%2F5.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FybFgUG71hi5HkwtOuTU0%2F6.jpeg?alt=media)

* Foundations in plan view

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FMoKgREPfMxodaIUJRJoA%2F7.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2Fm6sHsbOaBb1HIHlYZkoJ%2F8.jpeg?alt=media)

* Wall openings in the Section view

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2Fw4yf78ToWlzKBLpXt5Lw%2F9.jpeg?alt=media)

![](https://239424168-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FqtUsszuAWXIZhQhrvjnb%2Fuploads%2FN2eEEVavFY6rPj8tCA6t%2F10.jpeg?alt=media)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.besmart.software/common-for-several-products/smart-dimensions/dimension-to-nearest.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
