> For the complete documentation index, see [llms.txt](https://datashapes.gitbook.io/primer/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://datashapes.gitbook.io/primer/revit/getlinkedelement.inhostviewandcategory.md).

# GetLinkedElement.InHostViewAndCategory

## 1. Description

This node gathers elements in linked documents visible in a host view.  GetLinkedElements.ByHostViewAndCategory allows you to set the categories you’re interested in collecting.

## 2. Inputs

* **LinkDoc**

Takes the link doc (the Archilab node can be used).

* **Views**

The host view you want to get the linked elements from.

* **Categories**

This input takes the categories you want to collect.

## 3. Output

* **Elements**

The node retrieves the elements from the selected categories in the host view.&#x20;

![](https://238629208-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-LO8n4ithPJG3iCqU7ir%2F-LYkqNJAkDN1oBMk8fK0%2F-LYkqqhL2fKzwcTVRG4d%2FCapture.png?alt=media\&token=4653a8f3-64bd-46b0-aa81-1780cfdec1d4)
