Optional. Sets the target object(s). If omitted, all object(s) on selected layer will be erased. Here are the available objects:
AlignedDim = Erases all aligned dimensions
AllDim = Erases all type of dimensions
AngleDim = Erases all angle dimensions
Arc
Block = Erases all inserted block
Circle
DiametricDim = Erases all diametric dimensions
Dtext
Dwf = Erase all inserted Dwf file as external references
Ellipse
Hatch
Image = Erases all images like jpg, bmp, tif, png etc…
Leader
Line
Mext
Mleader
Object = Erases all objects
OrdinateDim = Erases all ordinate dimensions
Pdf = Erase all inserted Pdf file as external references
Point
Polyline
RadialDim = Erases all radial dimensions
Ray
RotatedDim = Erases all rotated dimensions
Spline
Table
Wipeout
Xline
Xref = Erase all external references including drawing, images, pdf and dwf.
XrefBlock = Erase all external referenced drawings. Not images, pdf or dwf.
Optional. Sets the layer name on which the object(s) are. If omitted, selected object(s) on any layer will be erased.
Note that objects on hidden or frozen layers will be deleted also.
Erases all objects in current space IF they're not on a locked layer.
Erases all Dtext on any layer if it is not locked.
Erases all Mtext on the layer MoxyLayer.
Erases everything on the layer MoxyLayer.