Deletes a specified object, such as a drawing entity or a block, layer, or linetype.
object is the name of the object to be deleted. The object may be one of the following:
Any Drawing Entity, Block,
Delete method example