# Label Faces

![](/files/-Ma9I6mCWSQopyQJtHZW)

![](/files/-Ma9I6hRLK2mLyGwbSgt) - [\[source code\]](https://github.com/ladybug-tools/honeybee-grasshopper-core/blob/master/honeybee_grasshopper_core/src//HB%20Label%20Faces.py)

Lablel Honeybee faces and sub-faces with their attributes in the Rhino scene.

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

## Inputs

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

  Honeybee Faces, Rooms or a Model to be labeled with their attributes in the Rhino scene.&#x20;
* **attribute**

  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. Default: "name".&#x20;
* **sub\_faces**

  Set to "True" to have the component label the window surfaces in the model instead of the opaque surfaces.  By default, this is set to "False" to label just the opaque surfaces.&#x20;
* **txt\_height**

  An optional number for the height of the text in the Rhino scene.  The default is auto-calculated based on the dimensions of the input geometry.&#x20;
* **font**

  An optional name of a font in which the labels will display. This must be a font that is installed on this machine in order to work correctly. Default: "Arial".&#x20;

## Outputs

* **label\_text**

  The text with which each of the faces or sub-faces are labeled.&#x20;
* **base\_pts**

  The base point for each of the text labels.&#x20;
* **labels**

  The text objects that are displaying within the Rhino scene.&#x20;
* **wire\_frame**

  A list of curves representing the outlines of the faces or sub-faces. This is useful for understanding which geometry elements each label corresponds to.&#x20;


---

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