RUIMeshObject.draw_facelabels

RUIMeshObject.draw_facelabels(text, color=None, group=None, fontheight=10, fontface='Arial Regular')

Draw labels for a selection of faces.

Parameters:
textdict[int, str]

A dictionary of face labels as face-text pairs.

colorcompas.colors.Color | dict[int, compas.colors.Color], optional

The color of the face labels.

groupstr, optional

The name of a group to join the created Rhino objects in.

fontheightint, optional

Font height of the face labels.

fontfacestr, optional

Font face of the face labels.

Returns:
list[System.Guid]

The GUIDs of the created Rhino point objects.