I am looking for a programmatic way or an autocad command to close (dettach) an attached markup from a drawing. So after I attach a markup and am finished using it, I want to close (dettach) it from my drawing. But the only way I know how to close (dettach) it is to use the markup palette and choose the option "Close Markup DWF". IIs there any way to dettach the markup without having to use the markup palette?