CapsuleObject.update_object

CapsuleObject.update_object(obj, name=None, color=None, collection=None, transformation=None, show_wire=False)[source]

Update an object in the Blender scene.

Parameters:
objbpy.types.Object

The Blender object data.

namestr, optional

The name of the object.

colorcompas.colors.Color, optional

The color specification.

collectionstr, optional

The collection to which the object should be added.

transformationcompas.geometry.Transformation, optional

The transformation to apply to the object.

show_wirebool, optional

Show the wireframe of the object.

Returns:
None