PolylineObject.draw

PolylineObject.draw(color=None, collection=None)[source]

Draw the line.

Parameters:
colortuple[float, float, float] | tuple[int, int, int] | compas.colors.Color, optional

The RGB color of the polyline.

collectionstr, optional

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

Returns:
list[bpy.types.Object]

The objects created in Blender.