delete_object

compas_blender.utilities.delete_object(obj, purge_data=True)[source]

Delete a scene object.

Parameters
  • obj (bpy.types.Object) – The Blender scene object.

  • purge_data (bool, optional) – If True, also delete the underlying data blocks.

Returns

None