Anyone have a macro to delete either all layers in a drawing or a given layer by name? I tried using the example from the sw api help file but I kept getting an error. I think I would like to add this code to my existing "silent save" macro that is assigned to hotkey S. Thanks, Sam