> For the complete documentation index, see [llms.txt](https://bimil.gitbook.io/docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://bimil.gitbook.io/docs/add-ins/ids.md).

# IDs

**IDs** provides an easy way to view and select element IDs within both Revit models and linked models. The add-in appears as a side panel, which can be toggled on or off using the **IDs** button. Each time an element is selected, its corresponding ID is displayed in the panel. IDs can also be manually entered into the text box for element selection, and a history feature tracks recent actions for convenient reference.

## Features

* **View Element IDs:**\
  Automatically displays the IDs of selected elements in Revit and linked models. Multiple IDs are separated by a semicolon (`;`).
* **Select by ID:**\
  Enter IDs manually (separated by space, comma, or semicolon) and select the corresponding elements by clicking the **Select** button. IDs are unified with `;` after selection.
* **Copy IDs:**\
  Copy the current list of IDs to the clipboard using the **Copy** button.
* **Element Count:**\
  Shows the count of currently selected elements each time a selection is made.
* **History Tracking:**\
  Logs up to 20 recent actions, allowing users to view and select elements from previous ID entries.
* **Linked Model Support:**\
  Displays selection of element IDs from linked models in the format\
  `(Linked Model ID) Element ID; Element ID; ...`

## Notes

* If an ID does not exist in the current model, only existing IDs will be selected.
* While the add-in displays the IDs of linked model elements when selected, users cannot select linked model elements by manually entering their IDs.
* Duplicate IDs are excluded from the selection, which may result in a different element count than the number of IDs entered.
* In Revit 2022, displaying the IDs of elements within linked models is not supported.

{% embed url="<https://youtu.be/g0mW3pkQRT0>" %}


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://bimil.gitbook.io/docs/add-ins/ids.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
