All entities created within a given drawing file in AutoCAD have a unique tag assigned to them, called a handle. DOH is a routine that allows you to delete entities by this handle. Why would you want to do this? Contributor Raymond L. Foren uses this code when he runs into the error, "Warning: Multiply Owned Objects" when saving. You may find other uses for this code, of course. Start by loading the LISP file, then run the command DOH. Enter the handle of an entity and proceed through the prompts. Although this is no more dangerous than the Erase command on the surface, be sure that you are aware of what you are deleting. The DOH command highlights the entity before actually deleting it, but in a crowded drawing, it could be easy to miss. |