# Get Grids and Views

![](/files/-Mihqg34x5Jalc18FB7-)

![](/files/-MihqbbRQu1L4VP8Fe7S) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-radiance/blob/master/honeybee_grasshopper_radiance/src//HB%20Get%20Grids%20and%20Views.py)

Get Radiance Sensor Grids and/or Views from a Honeybee Model and visualize them in the Rhino scene.

### Inputs

* **model \[Required]**

A Honeybee Model for which grids and views will be output.

* **view\_filter**

Text for a view identifer or a pattern to filter the views of the model that are output. For instance, `first_floor_*` will simulate only the views that have an identifier that starts with `first_floor_`. By default, all views in the model will be output.

* **grid\_filter**

Text for a grid identifer or a pattern to filter the sensor grids of the model that are output. For instance, first\_floor\_\* will simulate only the sensor grids that have an identifier that starts with first\_floor\_. By default, all grids in the model will be output.

### Outputs

* **views**

A list of Honeybee-Radiance Views that are assigned to the input \_model.

* **grids**

A list of Honeybee-Radiance SensorGrids that are assigned to the input \_model.

* **points**

The points that are at the center of each grid cell.

* **meshes**

Mesh for each sensor grid, which can be passed to the "LB Spatial Heatmap" component.


---

# Agent Instructions: 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:

```
GET https://docs.ladybug.tools/hb-radiance-primer/components/0_basicproperties/get_grids_and_views.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
