How remove block in dxf file format?
I want to d开发者_如何学JAVAo this to "change in dxf file structure" this means I want "remove block in dxf file programmatically"
For removing things programmatically from a DWG file you will need a commercial library that provides programmatic access. There are a couple of these, have a look at e.g. CadLib if you're using C# or VB.NET. If you're using C++, I can recommend the libraries from the Open Design Alliance (they do have .NET wrappers as well nowadays).
"To remove a block from your .dwg you must first delete all instances of the block. Then remove the block using the purge command."
http://www.cadtutor.net/forum/showthread.php?t=16470
精彩评论