How to delete blocks in DraftSight using the API?

Hi,

I tried posting this on the DraftSight forum, but I couldn't find the correct place so I was hoping someone here could help.

I have just started using the DraftSight API to automate some drawings by inserting blocks based on user input. I can use the SketchManager.InsertBlock function to insert blocks, but I can't seem to find a way to remove them. I am using C#.

Any help would be much appreciated!

Thanks,

Rohan Jhunjhunwala

SolidworksApi macros