# Graphics — visible labels from model attributes

Creates text graphics from existing attribute values, organized into named aspects such as equipment or pipeline labels.

## Use

1. Install the plugin in a compatible Builder with [UPVBPluginGraphics.xml](UPVBPluginGraphics/UPVBPluginGraphics/UPVBPluginGraphics.xml) beside it. This initial configuration is needed when the plugin loads.
2. Edit its `Definitions`, or place a project-specific file with the same name beside the first input session to override it during export.
3. Export and open the output model. Show the configured label aspects and inspect representative objects.

| Definition field | What to enter |
| --- | --- |
| `Condition` | Object selection, for example `Task=Equipment`. |
| `LabelAttributeKey` | Attribute whose value becomes the label, for example `Name`. |
| `AspectName` | Label graphic aspect to create. |
| `Color` | `R`, `G`, `B`, `A` byte values from 0 to 255. |
| `TextHeightFactor` | Relative text sizing. |
| `MinimumSize` | Size cutoff; the general labeling path checks bounding-box volume. |
| `isRoutingItem` | Routing-specific handling, using the supplied example's `0` or `1`. |

The sample covers cableways, pipelines, equipment and valves. Replace conditions and attribute names to match your model. Missing label attributes are skipped. Pipeline conditions containing `Name=Pipe` use special geometry-based placement, so label behavior can differ from other definitions.

If labels are missing, check the configuration path in the log, the object's attributes, the size cutoff and aspect visibility. Reduce `TextHeightFactor` if labels obscure the model.

[All solutions](UniversalPlantViewer.SDK.md)
