Block.face_attribute
- Block.face_attribute(key, name, value=None)
Get or set an attribute of a face.
- Parameters:
- keyint
The face identifier.
- namestr
The name of the attribute.
- valueobject, optional
The value of the attribute.
- Returns:
- object | None
The value of the attribute, or None when the function is used as a “setter”.
- Raises:
- KeyError
If the face does not exist.