draw_texts

compas_blender.utilities.draw_texts(texts, collection=None, color=(1.0, 1.0, 1.0))[source]

Draw text objects.

Parameters
  • texts (list[dict]) – A list of dicts describing the text objects.

  • collection (str or bpy.types.Collection, optional) – The Blender scene collection that should contain the objects created by this function.

  • color (tuple[int, int, int] or tuple[float, float, float], optional) – The text color.

Returns

list[bpy.types.Object]