API Calls to delete drawing block instances and definition

Hi there,

I am trying to create a macro to clean up a batch of drawings that have some bad block definitions. I cannot find the API call to delete anything, only create and insert.

Any help would be appreciated.

Thanks Dave

Reply to
david
Loading thread data ...
1 : select the block with SketchBlockInstance::Select (from 2007, before that it was a bit trickier...) 2 : delete it with ModelDoc2::EditDelete. A useful one.

formatting link

Reply to
Philippe Guglielmetti

PolyTech Forum website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.