MeshObject.draw_vertexlabels

MeshObject.draw_vertexlabels(text, color=None, group=None, fontheight=10, fontface='Arial Regular')[source]

Draw labels for a selection of vertices.

Parameters:
textdict[int, str]

A dictionary of vertex labels as vertex-text pairs.

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

The color of the vertex labels.

groupstr, optional

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

fontheightint, optional

Font height of the vertex labels.

fontfacestr, optional

Font face of the vertex labels.

Returns:
list[System.Guid]

The GUIDs of the created Rhino point objects.