BoxObject.draw

BoxObject.draw(color=None, collection=None, show_wire=True)[source]

Draw the box associated with the scene object.

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

The RGB color of the box.

collectionstr | bpy.types.Collection, optional

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

show_wirebool, optional

Display the wireframe of the box.

Returns:
list[bpy.types.Object]

The object(s) created in Blender to represent the box.