Deletes a specified object, such as a drawing entity or a block, layer, or linetype.
Syntax
object.Delete
Where:
object is the name of the object to be deleted. The object may be one of the following:
Any Drawing Entity, Block, Layer, Linetype, Pviewport, SelectionSet, TextStyle, UCS, View, Viewport.
Examples ...