Probably the easiest way to do this would be to get the view of the drawing sheet object and use its .AskVisibleObjects method. This will return an array of "displayable objects" that you can iterate through, checking the .Color property of each. You can save references to the objects of a specific color in an array, then pass that array of objects to the delete command.
re: delete by color
Probably the easiest way to do this would be to get the view of the drawing sheet object and use its .AskVisibleObjects method. This will return an array of "displayable objects" that you can iterate through, checking the .Color property of each. You can save references to the objects of a specific color in an array, then pass that array of objects to the delete command.