The ERASE command removes a selection set of objects from a drawing.
In some cases in AutoCAD MEP 2024 toolset, ERASE joins the objects that remain after you erase an object. For example, it joins remaining duct or pipe segments when you erase inline parts. However, when you erase fittings, the software disconnects the remaining objects because it does not know how to join them. In these cases, you can connect or merge the disconnected objects to reflect the desired design.
Erasing objects does not remove unused, named items from a drawing. You must purge them.