# Assign Grids and Views

![](/files/-Mihqg93_sryYRlAJ1Ss)

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

Add radiance Sensor Grids and/or Views to a Honeybee Model.

This assignment is necessary for any Radiance study, though whether a grid or a view is required for a particular type of study is depenednet upon the recipe used.

Multiple copies of this component can be used in series and each will add the grids or views to any that already exist.

### Inputs

* **model \[Required]**

A Honeybee Model to which the input grids\_ and views\_ will be assigned.

* **grids**

A list of Honeybee-Radiance SensorGrids, which will be assigned to the input \_model.

* **views**

A list of Honeybee-Radiance Views, which will be assigned to the input \_model.

### Outputs

* **model**

The input Honeybee Model with the grids\_ and views\_ assigned to it.


---

# 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/assign_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.
