MeshObject.draw_vertices

MeshObject.draw_vertices(vertices=None, color=None, collection=None, radius=0.01, u=16, v=16)[source]

Draw a selection of vertices.

Parameters:
verticeslist[int], optional

A list of vertex keys identifying which vertices to draw. Default is None, in which case all vertices are drawn.

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

The color specification for the vertices.

collectionstr, optional

The name of the Blender scene collection containing the created object(s).

Returns:
list[bpy.types.Object]
Other Parameters:
radiusfloat, optional

The radius of the vertex spheres.

uint, optional

Number of faces in the “u” direction of the vertex spheres.

vint, optional

Number of faces in the “v” direction of the vertex spheres.