EraseAll for MoxyDraw

Erases all objects in current space IF they're not on a locked layer.


Syntax:

EraseAll
target objects
layer name

target objects:

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.

layer name:

Optional. Sets the layer name on which the object(s) are. If omitted, selected object(s) on any layer will be erased.

Note:

Note that objects on hidden or frozen layers will be deleted also.

Examples:

EraseAll

Erases all objects in current space IF they're not on a locked layer.


EraseAll
Dtext

Erases all Dtext on any layer if it is not locked.


EraseAll
Mtext
MoxyLayer

Erases all Mtext on the layer MoxyLayer.


EraseAll
Objects
MoxyLayer

Erases everything on the layer MoxyLayer.