# Color Face Attributes

![](https://3521261292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1FZ8W_xSW4Nb61%2Fuploads%2Fgit-blob-1aaa52bf56f6e4617f20c8f014847bfa6d72ea63%2FColor_Face_Attributes.png?alt=media)

![](https://3521261292-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-LPHXQ1FZ8W_xSW4Nb61%2Fuploads%2Fgit-blob-bbeafe300591a5a50c68885149c9f134543d913e%2FColor_Face_Attributes.png?alt=media) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-core/blob/master/honeybee_grasshopper_core/src/HB%20Color%20Face%20Attributes.py)

Color Honeybee Faces, Apertures, Doors and Shades in the Rhino scene using their attributes.

This can be used as a means to check that correct properties are assigned to different faces.

### Inputs

* **hb\_objs \[Required]**

An array of honeybee Rooms, Faces, Apertures, Doors or Shades to be colored with their attributes in the Rhino scene. This can also be an entire Model to be colored.

* **attribute \[Required]**

Text for the name of the attribute with which the faces or sub-faces should be labeled. The Honeybee "Face Attributes" component lists all of the core attributes of the room. Also, each Honeybee extension (ie. Radiance, Energy) includes its own component that lists the face and sub-face attributes of that extension.

* **legend\_par**

An optional LegendParameter object to change the display of the colored faces and sub-faces (Default: None).

### Outputs

* **mesh**

Meshes of the faces and sub-faces colored according to their attributes.

* **legend**

Geometry representing the legend for colored meshes.

* **wire\_frame**

A list of lines representing the outlines of the \_hb\_objs.

* **values**

A list of values noting the attribute assigned to each face/sub-face.

* **colors**

A list of colors noting the color of each face/sub-face in the Rhino scene. This can be used in conjunction with the native Grasshopper "Custom Preview" component to create custom visualizations in the Rhino scene.

* **vis\_set**

An object containing VisualizationSet arguments for drawing a detailed version of the ColorRoom in the Rhino scene. This can be connected to the "LB Preview Visualization Set" component to display this version of the visualization in Rhino.


---

# 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/honeybee-primer/components/1_visualize/color_face_attributes.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.
