# Assign Grids and Views

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-ae6c29027046d91a18d2d6bac8a5d80f346666f8%2FAssign_Grids_and_Views.png?alt=media)

![](https://2572426507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Ma9X8PomX22wWVDNCoj%2Fuploads%2Fgit-blob-41e2f533c20e63e4eca1fa927e5e6645e7870b2d%2FAssign_Grids_and_Views.png?alt=media) - [\[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.
